File tree Expand file tree Collapse file tree 1 file changed +5
-23
lines changed Expand file tree Collapse file tree 1 file changed +5
-23
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,13 @@ jobs:
18
18
fail-fast : false
19
19
matrix :
20
20
os : [ubuntu-20.04]
21
+ # os: [ubuntu-18.04, ubuntu-20.04]
21
22
runs-on : ${{ matrix.os }}
22
23
steps :
23
24
- uses : actions/checkout@v2
24
25
- uses : actions/setup-node@v1
25
26
with :
26
- node-version : 16
27
+ node-version : 18
27
28
- uses : microsoft/playwright-github-action@v1
28
29
- uses : actions/cache@v3
29
30
with :
@@ -32,34 +33,15 @@ jobs:
32
33
restore-keys : |
33
34
${{ runner.os }}-node-
34
35
- name : Install dependencies
35
- run : npm install
36
- - name : Run tests
37
- run : npm test
38
- test_win :
39
- name : " Windows"
40
- runs-on : windows-latest
41
- steps :
42
- - uses : actions/checkout@v2
43
- - uses : actions/setup-node@v1
44
- with :
45
- node-version : 16
46
- - uses : microsoft/playwright-github-action@v1
47
- - uses : actions/cache@v3
48
- with :
49
- path : ~/.npm
50
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
51
- restore-keys : |
52
- ${{ runner.os }}-node-
53
- - name : Install dependencies
54
- run : npm install
36
+ run : npm ci
55
37
- name : Run tests
56
38
run : npm test
57
39
tag :
58
40
name : " Publishing release"
59
41
if : github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master'
60
- needs :
42
+ needs :
61
43
- test_linux
62
- - test_win
44
+ # - test_win
63
45
runs-on : ubuntu-latest
64
46
steps :
65
47
- name : Checkout code
You can’t perform that action at this time.
0 commit comments