File tree Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Expand file tree Collapse file tree 2 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 11
11
12
12
jobs :
13
13
tests :
14
- name : tests
15
14
runs-on : ubuntu-latest
15
+ strategy :
16
+ matrix :
17
+ node : [ '12', '14' ]
18
+ name : Tests (Node.js ${{ matrix.node }})
16
19
steps :
17
- - uses : actions/checkout@v2
18
- - name : Install dependencies
19
- run : yarn install
20
- - name : Run tests
21
- run : yarn run test
20
+ - uses : actions/checkout@v2
21
+ - name : Setup node
22
+ uses : actions/setup-node@v1
23
+ with :
24
+ node-version : ${{ matrix.node }}
25
+ - name : Install dependencies
26
+ run : yarn install
27
+ - name : Run tests
28
+ run : yarn run test
22
29
23
30
linter :
24
31
name : linter-check
Original file line number Diff line number Diff line change 1
- status = [' tests' , ' linter-check' ]
1
+ status = [
2
+ ' tests' ,
3
+ ' linter-check' ,
4
+ ' Tests (Node.js 12)' ,
5
+ ' Tests (Node.js 14)'
6
+ ]
2
7
# 1 hour timeout
3
8
timeout-sec = 3600
You can’t perform that action at this time.
0 commit comments