File tree 4 files changed +70
-21
lines changed
4 files changed +70
-21
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ jobs:
139
139
if : steps.playwright-cache.outputs.cache-hit != 'true'
140
140
141
141
- name : Install playwright dependencies
142
- - run : npx playwright install-deps
142
+ run : npx playwright install-deps
143
143
if : steps.playwright-cache.outputs.cache-hit == 'true'
144
144
145
145
- name : Build
Original file line number Diff line number Diff line change 9
9
10
10
linters :
11
11
name : Linting checks
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-24.04
13
13
14
14
steps :
15
15
- name : Check out code
@@ -43,21 +43,18 @@ jobs:
43
43
44
44
tests :
45
45
name : Test checks
46
- runs-on : ubuntu-latest
47
- strategy :
48
- matrix :
49
- node-version : [18.x, 20.x]
46
+ runs-on : ubuntu-24.04
50
47
51
48
steps :
52
49
- name : Check out code
53
50
uses : actions/checkout@v3
54
51
with :
55
52
fetch-depth : 2
56
53
57
- - name : Use Node.js ${{ matrix.node-version }}
54
+ - name : Use Node.js 20.x
58
55
uses : actions/setup-node@v3
59
56
with :
60
- node-version : ${{ matrix.node-version }}
57
+ node-version : 20.x
61
58
62
59
- name : Get node version
63
60
id : node
76
73
run : npm ci
77
74
78
75
- name : Install playwright browsers
79
- run : npx playwright install --with-deps
76
+ run : |
77
+ sudo apt update
78
+ npx playwright install --with-deps
80
79
81
80
- name : Build
82
81
run : npm run build
89
88
runs-on : ubuntu-latest
90
89
needs :
91
90
- linters
92
- - tests
93
91
steps :
94
92
- uses : actions/checkout@v3
95
93
- name : Set env
Original file line number Diff line number Diff line change 44
44
"fast-glob" : " ^3.3.2" ,
45
45
"globby" : " ^14.0.1" ,
46
46
"husky" : " ^8.0.0" ,
47
+ "playwright" : " ^1.47.0" ,
47
48
"prettier" : " ^2.8.8" ,
48
49
"sinon" : " ^17.0.1" ,
49
50
"tsup" : " ^8.0.2" ,
You can’t perform that action at this time.
0 commit comments