File tree 1 file changed +37
-68
lines changed
1 file changed +37
-68
lines changed Original file line number Diff line number Diff line change @@ -13,90 +13,59 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v1
17
- with :
18
- fetch-depth : 1
16
+ uses : actions/checkout@v2
19
17
- name : Install Node.js
20
- uses : actions/setup-node@v1
18
+ uses : actions/setup-node@v2
21
19
with :
22
- node : 12.x
20
+ node-version : 16
23
21
- name : Install Packages
24
22
run : npm install
25
23
- name : Lint
26
24
run : npm run -s lint
27
25
28
26
test :
29
27
name : Test
30
-
31
28
strategy :
32
29
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
91
62
92
63
runs-on : ${{ matrix.os }}
93
64
steps :
94
65
- name : Checkout
95
- uses : actions/checkout@v1
96
- with :
97
- fetch-depth : 1
66
+ uses : actions/checkout@v2
98
67
- name : Install Node.js ${{ matrix.node }}
99
- uses : actions/setup-node@v1
68
+ uses : actions/setup-node@v2
100
69
with :
101
70
node-version : ${{ matrix.node }}
102
71
- name : Install Packages
You can’t perform that action at this time.
0 commit comments