File tree Expand file tree Collapse file tree 1 file changed +37
-68
lines changed Expand file tree Collapse file tree 1 file changed +37
-68
lines changed Original file line number Diff line number Diff line change @@ -13,90 +13,59 @@ jobs:
1313 runs-on : ubuntu-latest
1414 steps :
1515 - name : Checkout
16- uses : actions/checkout@v1
17- with :
18- fetch-depth : 1
16+ uses : actions/checkout@v2
1917 - name : Install Node.js
20- uses : actions/setup-node@v1
18+ uses : actions/setup-node@v2
2119 with :
22- node : 12.x
20+ node-version : 16
2321 - name : Install Packages
2422 run : npm install
2523 - name : Lint
2624 run : npm run -s lint
2725
2826 test :
2927 name : Test
30-
3128 strategy :
3229 matrix :
33- os : [ubuntu-latest, windows-latest, macOS-latest]
34- eslint : [6.x, 5.x]
35- node : [13.x, 12.x, 10.x, 8.x]
36- exclude :
37- # On Windows, run tests with only the latest LTS environments.
38- - os : windows-latest
39- eslint : 6.x
40- node : 13.x
41- - os : windows-latest
42- eslint : 6.x
43- node : 10.x
44- - os : windows-latest
45- eslint : 6.x
46- node : 8.x
47- - os : windows-latest
48- eslint : 5.x
49- node : 13.x
50- - os : windows-latest
51- eslint : 5.x
52- node : 12.x
53- - os : windows-latest
54- eslint : 5.x
55- node : 10.x
56- - os : windows-latest
57- eslint : 5.x
58- node : 8.x
59- # On macOS, run tests with only the latest LTS environments.
60- - os : macOS-latest
61- eslint : 6.x
62- node : 13.x
63- - os : macOS-latest
64- eslint : 6.x
65- node : 10.x
66- - os : macOS-latest
67- eslint : 6.x
68- node : 8.x
69- - os : macOS-latest
70- eslint : 5.x
71- node : 13.x
72- - os : macOS-latest
73- eslint : 5.x
74- node : 12.x
75- - os : macOS-latest
76- eslint : 5.x
77- node : 10.x
78- - os : macOS-latest
79- eslint : 5.x
80- node : 8.x
81- # Run ESLint 5.x tests on only the latest LTS Node.
82- - os : ubuntu-latest
83- eslint : 5.x
84- node : 13.x
85- - os : ubuntu-latest
86- eslint : 5.x
87- node : 10.x
88- - os : ubuntu-latest
89- eslint : 5.x
90- node : 8.x
30+ os : [ubuntu-latest]
31+ eslint : [6]
32+ node : [16]
33+ include :
34+ # On other platforms
35+ - eslint : 6
36+ node : 16
37+ os : windows-latest
38+ - eslint : 6
39+ node : 16
40+ os : macos-latest
41+ # On old Node.js versions
42+ - eslint : 6
43+ node : 14
44+ os : ubuntu-latest
45+ - eslint : 6
46+ node : 12
47+ os : ubuntu-latest
48+ - eslint : 6
49+ node : 10
50+ os : ubuntu-latest
51+ - eslint : 6
52+ node : 8
53+ os : ubuntu-latest
54+ # On old ESLint versions
55+ - eslint : 5
56+ node : 16
57+ os : ubuntu-latest
58+ # On the minimum supported ESLint/Node.js version
59+ - eslint : 5.16.0
60+ node : 8.10.0
61+ os : ubuntu-latest
9162
9263 runs-on : ${{ matrix.os }}
9364 steps :
9465 - name : Checkout
95- uses : actions/checkout@v1
96- with :
97- fetch-depth : 1
66+ uses : actions/checkout@v2
9867 - name : Install Node.js ${{ matrix.node }}
99- uses : actions/setup-node@v1
68+ uses : actions/setup-node@v2
10069 with :
10170 node-version : ${{ matrix.node }}
10271 - name : Install Packages
You can’t perform that action at this time.
0 commit comments