This repository was archived by the owner on Feb 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Expand file tree Collapse file tree 1 file changed +9
-15
lines changed Original file line number Diff line number Diff line change 9
9
branches :
10
10
- ' **'
11
11
12
- env :
13
- CI : true
14
-
15
12
jobs :
16
13
lint :
17
- name : Lint on Node.js ${{ matrix.node }} and ${{ matrix.os }}
18
-
19
- runs-on : ${{ matrix.os }}
14
+ name : Lint on Node.js LTS
20
15
21
- strategy :
22
- matrix :
23
- node : [12]
24
- os : [ubuntu-latest]
16
+ runs-on : ubuntu-latest
25
17
26
18
steps :
27
19
- uses : actions/checkout@v2
28
20
29
- - name : Use Node.js ${{ matrix.node }}
30
- uses : actions/setup-node@v1
21
+ - name : Use Node.js LTS
22
+ uses : actions/setup-node@v2
31
23
with :
32
- node-version : ${{ matrix.node }}
24
+ node-version : ' lts/*'
25
+ cache : npm
33
26
34
27
- name : Install latest npm
35
28
run : npm install --global npm@latest
@@ -48,15 +41,16 @@ jobs:
48
41
strategy :
49
42
fail-fast : false
50
43
matrix :
51
- node : [10, 12 ]
44
+ node : [12, 14, 16 ]
52
45
53
46
steps :
54
47
- uses : actions/checkout@v2
55
48
56
49
- name : Use Node.js ${{ matrix.node }}
57
- uses : actions/setup-node@v1
50
+ uses : actions/setup-node@v2
58
51
with :
59
52
node-version : ${{ matrix.node }}
53
+ cache : npm
60
54
61
55
- name : Install latest npm
62
56
run : npm install --global npm@latest
You can’t perform that action at this time.
0 commit comments