18
18
steps :
19
19
- uses : actions/checkout@v2
20
20
21
- - uses : actions/setup-node@v2.4.0
21
+ - uses : actions/setup-node@v2
22
22
with :
23
- node-version : 14.x
23
+ node-version : 16
24
24
cache : yarn
25
25
26
26
- name : Validate cache
36
36
runs-on : ubuntu-latest
37
37
steps :
38
38
- uses : actions/checkout@v2
39
- - uses : actions/setup-node@v2.4.0
39
+ - uses : actions/setup-node@v2
40
40
with :
41
- node-version : 14.x
41
+ node-version : 16
42
42
cache : yarn
43
43
- name : install
44
44
run : yarn
50
50
runs-on : ubuntu-latest
51
51
steps :
52
52
- uses : actions/checkout@v2
53
- - uses : actions/setup-node@v2.4.0
53
+ - uses : actions/setup-node@v2
54
54
with :
55
- node-version : 14.x
55
+ node-version : 16
56
56
cache : yarn
57
57
- name : install
58
58
run : yarn
@@ -67,14 +67,14 @@ jobs:
67
67
strategy :
68
68
fail-fast : false
69
69
matrix :
70
- node-version : [10.x , 12.x , 14.x, 15.x, 16.x ]
71
- eslint-version : [5, 6, 7]
70
+ node-version : [10, 12, 14, 16 ]
71
+ eslint-version : [5, 6, 7, '^8.0.0-0' ]
72
72
runs-on : ubuntu-latest
73
73
74
74
steps :
75
75
- uses : actions/checkout@v2
76
76
- name : Use Node.js ${{ matrix.node-version }}
77
- uses : actions/setup-node@v2.4.0
77
+ uses : actions/setup-node@v2
78
78
with :
79
79
node-version : ${{ matrix.node-version }}
80
80
cache : yarn
@@ -84,11 +84,11 @@ jobs:
84
84
yarn add --dev eslint@${{ matrix.eslint-version }}
85
85
- name : run tests
86
86
# only collect coverage on eslint versions that support the suggestions api
87
- run : yarn test --coverage ${{ matrix.eslint-version >= 6 }}
87
+ run : yarn test --coverage ${{ matrix.eslint-version >= 6 || matrix.eslint-version = '^8.0.0-0' }}
88
88
env :
89
89
CI : true
90
- - uses : codecov/codecov-action@v2.0.2
91
- if : ${{ matrix.eslint-version >= 6 }}
90
+ - uses : codecov/codecov-action@v2
91
+ if : ${{ matrix.eslint-version >= 6 || matrix.eslint-version = '^8.0.0-0' }}
92
92
test-os :
93
93
name : Test on ${{ matrix.os }} using Node.js LTS
94
94
needs : prepare-yarn-cache
@@ -100,9 +100,9 @@ jobs:
100
100
101
101
steps :
102
102
- uses : actions/checkout@v2
103
- - uses : actions/setup-node@v2.4.0
103
+ - uses : actions/setup-node@v2
104
104
with :
105
- node-version : 14.x
105
+ node-version : 16
106
106
cache : yarn
107
107
- name : install
108
108
run : yarn
@@ -117,9 +117,9 @@ jobs:
117
117
runs-on : ubuntu-latest
118
118
steps :
119
119
- uses : actions/checkout@v2
120
- - uses : actions/setup-node@v2.4.0
120
+ - uses : actions/setup-node@v2
121
121
with :
122
- node-version : 14.x
122
+ node-version : 16
123
123
cache : yarn
124
124
- name : install
125
125
run : yarn
@@ -140,9 +140,9 @@ jobs:
140
140
runs-on : ubuntu-latest
141
141
steps :
142
142
- uses : actions/checkout@v2
143
- - uses : actions/setup-node@v2.4.0
143
+ - uses : actions/setup-node@v2
144
144
with :
145
- node-version : 14.x
145
+ node-version : 16
146
146
cache : yarn
147
147
- name : install
148
148
run : yarn
0 commit comments