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 99 branches :
1010 - ' **'
1111
12- env :
13- CI : true
14-
1512jobs :
1613 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
2015
21- strategy :
22- matrix :
23- node : [12]
24- os : [ubuntu-latest]
16+ runs-on : ubuntu-latest
2517
2618 steps :
2719 - uses : actions/checkout@v2
2820
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
3123 with :
32- node-version : ${{ matrix.node }}
24+ node-version : ' lts/*'
25+ cache : npm
3326
3427 - name : Install latest npm
3528 run : npm install --global npm@latest
@@ -48,15 +41,16 @@ jobs:
4841 strategy :
4942 fail-fast : false
5043 matrix :
51- node : [10, 12 ]
44+ node : [12, 14, 16 ]
5245
5346 steps :
5447 - uses : actions/checkout@v2
5548
5649 - name : Use Node.js ${{ matrix.node }}
57- uses : actions/setup-node@v1
50+ uses : actions/setup-node@v2
5851 with :
5952 node-version : ${{ matrix.node }}
53+ cache : npm
6054
6155 - name : Install latest npm
6256 run : npm install --global npm@latest
You can’t perform that action at this time.
0 commit comments