File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ jobs:
26
26
27
27
steps :
28
28
# prepare core binaries
29
- - uses : actions/checkout@v3
29
+ - uses : actions/checkout@v4
30
30
31
31
- name : Install Node.js
32
- uses : actions/setup-node@v3
32
+ uses : actions/setup-node@v4
33
33
with :
34
- node-version : lts/*
34
+ node-version : 20
35
35
cache : ' yarn'
36
36
37
37
- name : Install dependencies
38
- run : yarn
38
+ run : yarn install --frozen-lockfile # optional, --immutable
39
39
40
40
# run lint
41
41
- name : Run tests
49
49
echo version=$(npm info @playwright/test version) >> $GITHUB_OUTPUT
50
50
51
51
- name : Cache Playwright binaries
52
- uses : actions/cache@v3
52
+ uses : actions/cache@v4
53
53
id : playwright-cache
54
54
with :
55
55
path : |
@@ -75,12 +75,13 @@ jobs:
75
75
- name : Run tests
76
76
run : TEST_PROJECT_LIST="${{matrix.TEST_PROJECT_LIST}}" yarn test
77
77
78
- - uses : actions/upload-artifact@v3
78
+ - uses : actions/upload-artifact@v4
79
79
if : failure()
80
80
with :
81
- name : playwright-report
81
+ name : " playwright-report-${{ matrix.os }} "
82
82
path : |
83
83
test-results/
84
84
playwright-report/
85
85
tests/**/__screenshots__/github_*
86
86
retention-days : 5
87
+ compression-level : 9
Original file line number Diff line number Diff line change 87
87
"test:run" : " playwright test" ,
88
88
"test:server" : " node tests/utils/server/index.js" ,
89
89
"prepare" : " husky install"
90
- }
90
+ },
91
+ "packageManager" : " yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
91
92
}
You can’t perform that action at this time.
0 commit comments