File tree 1 file changed +9
-13
lines changed
1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -5,20 +5,16 @@ on: [push, pull_request]
5
5
jobs :
6
6
lint :
7
7
runs-on : ubuntu-latest
8
+ strategy :
9
+ matrix :
10
+ node-version : [14, 16]
8
11
steps :
9
12
- uses : actions/checkout@v2
10
- - name : Setup Node.js
11
- uses : actions/setup-node@v1
13
+ - uses : actions/setup-node@v2
12
14
with :
13
- node-version : 12.x
14
- - name : npm install
15
- run : npm install
16
- env :
17
- CI : true
18
- - name : lint
19
- run : npm run lint
20
- env :
21
- CI : true
15
+ node-version : ${{ matrix.node-version }}
16
+ - run : npm install
17
+ - run : npm run lint
22
18
23
19
mocha :
24
20
runs-on : ubuntu-latest
55
51
run : docker-compose down -v
56
52
- name : Upload reports
57
53
if : always()
58
- uses : actions/upload-artifact@master
54
+ uses : actions/upload-artifact@v2
59
55
with :
60
56
name : reports
61
57
path : wdio/reports
78
74
run : docker-compose down -v
79
75
- name : Upload reports
80
76
if : always()
81
- uses : actions/upload-artifact@master
77
+ uses : actions/upload-artifact@v2
82
78
with :
83
79
name : reports
84
80
path : wdio/reports
You can’t perform that action at this time.
0 commit comments