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 : [12.x , 14.x , 16.x ]
71
- eslint-version : [6, 7]
70
+ node-version : [12, 14, 16]
71
+ eslint-version : [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
86
86
run : yarn test --coverage
87
87
env :
88
88
CI : true
89
-
90
- if : always()
89
+ - uses : codecov/codecov-action@v2
91
90
test-os :
92
91
name : Test on ${{ matrix.os }} using Node.js LTS
93
92
needs : prepare-yarn-cache
99
98
100
99
steps :
101
100
- uses : actions/checkout@v2
102
- - uses : actions/setup-node@v2.4.0
101
+ - uses : actions/setup-node@v2
103
102
with :
104
- node-version : 14.x
103
+ node-version : 16
105
104
cache : yarn
106
105
- name : install
107
106
run : yarn
@@ -116,9 +115,9 @@ jobs:
116
115
runs-on : ubuntu-latest
117
116
steps :
118
117
- uses : actions/checkout@v2
119
- - uses : actions/setup-node@v2.4.0
118
+ - uses : actions/setup-node@v2
120
119
with :
121
- node-version : 14.x
120
+ node-version : 16
122
121
cache : yarn
123
122
- name : install
124
123
run : yarn
@@ -139,9 +138,9 @@ jobs:
139
138
runs-on : ubuntu-latest
140
139
steps :
141
140
- uses : actions/checkout@v2
142
- - uses : actions/setup-node@v2.4.0
141
+ - uses : actions/setup-node@v2
143
142
with :
144
- node-version : 14.x
143
+ node-version : 16
145
144
cache : yarn
146
145
- name : install
147
146
run : yarn
0 commit comments