File tree Expand file tree Collapse file tree 3 files changed +13701
-10241
lines changed Expand file tree Collapse file tree 3 files changed +13701
-10241
lines changed Original file line number Diff line number Diff line change @@ -10,27 +10,15 @@ jobs:
10
10
test :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v1
14
- - uses : actions/setup-node@v1
13
+ - uses : actions/checkout@v3
14
+ - uses : actions/setup-node@v3
15
15
with :
16
- node-version : ' 12.x'
17
- - name : Install webkit deps
18
- run : |
19
- sudo apt-get update
20
- sudo apt-get install libgstreamer1.0-0 libbrotli1 libopus0 libwoff1 libgstreamer-plugins-base1.0-0 libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0 libopenjp2-7 libwebpdemux2 libhyphen0 libgles2
21
- - name : Cache node modules
22
- uses : actions/cache@v1
23
- env :
24
- cache-name : cache-node-modules
25
- with :
26
- path : ~/.npm
27
- # This uses the same name as the build-action so we can share the caches.
28
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
29
- restore-keys : |
30
- ${{ runner.os }}-build-${{ env.cache-name }}-
31
- ${{ runner.os }}-build-
32
- ${{ runner.os }}-
33
- - run : npm ci
16
+ node-version : 18.x
17
+ cache : npm
18
+ - name : Install NPM dependencies
19
+ run : npm ci
20
+ - name : Install playwright dependencies
21
+ run : npx playwright install-deps
34
22
- name : build
35
23
run : npm run prepare
36
24
- name : test
You can’t perform that action at this time.
0 commit comments