Skip to content

Commit c8b32d2

Browse files
committed
workflow fixes
1 parent 6210589 commit c8b32d2

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/preview.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# Based on https://github.com/marketplace/actions/deploy-pr-preview#usage.
44

55
name: Deploy PR previews
6-
76
on:
87
pull_request:
98
branches:
@@ -19,7 +18,8 @@ on:
1918
- 'static/**'
2019
- '.env'
2120
- '.env.*'
22-
21+
permissions:
22+
contents: write
2323
concurrency: preview-${{ github.ref }}
2424

2525
jobs:

.github/workflows/test.yml

+3-7
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ jobs:
2020
with:
2121
node-version: lts/*
2222
- name: Install dependencies
23-
run: npm ci
23+
run: |
24+
npx playwright install --with-deps
25+
npm ci
2426
- name: Run tests
2527
run: npm run test
26-
- uses: actions/upload-artifact@v4
27-
if: ${{ !cancelled() }}
28-
with:
29-
name: playwright-report
30-
path: playwright-report/
31-
retention-days: 30

0 commit comments

Comments
 (0)