Skip to content

Commit 737a500

Browse files
Update github actions
1 parent bd14c8d commit 737a500

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
name: Playwright Tests
22
on:
33
push:
4-
branches: [ master ]
4+
branches: [ main ]
55
pull_request:
6-
branches: [ master ]
6+
branches: [ main ]
77
jobs:
88
test:
99
timeout-minutes: 60
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
12+
- uses: actions/checkout@v4
13+
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 16
15+
node-version: lts/*
1616
- name: Install dependencies
1717
run: npm ci
1818
- name: Install Playwright Browsers
1919
run: npx playwright install --with-deps
2020
- name: Run Playwright tests
2121
run: npx playwright test
22-
- uses: actions/upload-artifact@v3
23-
if: always()
22+
- uses: actions/upload-artifact@v4
23+
if: ${{ !cancelled() }}
2424
with:
2525
name: playwright-report
2626
path: playwright-report/
27-
retention-days: 30
27+
retention-days: 30

0 commit comments

Comments
 (0)