File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 26
26
strategy :
27
27
matrix :
28
28
os : [windows-latest, ubuntu-latest, macos-latest]
29
- node : [16 ]
29
+ node : ['lts/*' ]
30
30
fail-fast : true
31
31
steps :
32
32
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change 1
1
name : Test & Maybe Release
2
2
on : [push, pull_request]
3
+ defaults :
4
+ run :
5
+ shell : bash
3
6
jobs :
4
7
test :
5
8
strategy :
6
9
fail-fast : false
7
10
matrix :
8
- node : [14.x, 16.x ]
11
+ node : ['lts/*' ]
9
12
os : [macos-latest, ubuntu-latest, windows-latest]
10
13
runs-on : ${{ matrix.os }}
11
14
steps :
12
15
- name : Checkout Repository
13
- uses : actions/checkout@v2.4.0
16
+ uses : actions/checkout@v2
14
17
- name : Use Node.js ${{ matrix.node }}
15
- uses : actions/setup-node@v2.5.1
18
+ uses : actions/setup-node@v2
16
19
with :
17
20
node-version : ${{ matrix.node }}
18
21
- name : Install Dependencies
@@ -29,13 +32,13 @@ jobs:
29
32
if : github.event_name == 'push' && github.ref == 'refs/heads/master'
30
33
steps :
31
34
- name : Checkout
32
- uses : actions/checkout@v2.4.0
35
+ uses : actions/checkout@v2
33
36
with :
34
37
fetch-depth : 0
35
38
- name : Setup Node.js
36
- uses : actions/setup-node@v2.5.1
39
+ uses : actions/setup-node@v2
37
40
with :
38
- node-version : 14
41
+ node-version : ' lts/* '
39
42
- name : Install dependencies
40
43
run : |
41
44
npm install --no-progress --no-package-lock --no-save
You can’t perform that action at this time.
0 commit comments