File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 9
9
jobs :
10
10
test :
11
11
runs-on : ubuntu-18.04
12
+ strategy :
13
+ matrix :
14
+ node : [ '12', '14', '15' ]
12
15
timeout-minutes : 30
13
16
env :
14
17
COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
15
18
COVERAGE_OPTION : ./node_modules/.bin/nyc
16
19
steps :
17
20
- uses : actions/checkout@v2
18
21
- name : Use Node.js
19
- uses : actions/setup-node@v1
22
+ uses : actions/setup-node@v2
20
23
with :
21
- node-version : ' 10.14 '
24
+ node-version : ${{ matrix.node }}
22
25
- name : Cache Node.js modules
23
26
uses : actions/cache@v2
24
27
with :
Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-18.04
8
8
steps :
9
9
- uses : actions/checkout@v2
10
- - uses : actions/setup-node@v1
10
+ - uses : actions/setup-node@v2
11
11
with :
12
- node-version : ' 10. 14'
12
+ node-version : ' 14'
13
13
registry-url : https://registry.npmjs.org/
14
14
- name : Cache Node.js modules
15
15
uses : actions/cache@v2
You can’t perform that action at this time.
0 commit comments