File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Playwright Tests
2
2
on :
3
3
push :
4
- branches : [ master ]
4
+ branches : [ main ]
5
5
pull_request :
6
- branches : [ master ]
6
+ branches : [ main ]
7
7
jobs :
8
8
test :
9
9
timeout-minutes : 60
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
with :
15
- node-version : 16
15
+ node-version : lts/*
16
16
- name : Install dependencies
17
17
run : npm ci
18
18
- name : Install Playwright Browsers
19
19
run : npx playwright install --with-deps
20
20
- name : Run Playwright tests
21
21
run : npx playwright test
22
- - uses : actions/upload-artifact@v3
23
- if : always()
22
+ - uses : actions/upload-artifact@v4
23
+ if : ${{ !cancelled() }}
24
24
with :
25
25
name : playwright-report
26
26
path : playwright-report/
27
- retention-days : 30
27
+ retention-days : 30
You can’t perform that action at this time.
0 commit comments