1818 steps :
1919 - uses : actions/checkout@v2
2020
21- - uses : actions/setup-node@v2.4.0
21+ - uses : actions/setup-node@v2
2222 with :
23- node-version : 14.x
23+ node-version : 16
2424 cache : yarn
2525
2626 - name : Validate cache
3636 runs-on : ubuntu-latest
3737 steps :
3838 - uses : actions/checkout@v2
39- - uses : actions/setup-node@v2.4.0
39+ - uses : actions/setup-node@v2
4040 with :
41- node-version : 14.x
41+ node-version : 16
4242 cache : yarn
4343 - name : install
4444 run : yarn
5050 runs-on : ubuntu-latest
5151 steps :
5252 - uses : actions/checkout@v2
53- - uses : actions/setup-node@v2.4.0
53+ - uses : actions/setup-node@v2
5454 with :
55- node-version : 14.x
55+ node-version : 16
5656 cache : yarn
5757 - name : install
5858 run : yarn
@@ -67,14 +67,14 @@ jobs:
6767 strategy :
6868 fail-fast : false
6969 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' ]
7272 runs-on : ubuntu-latest
7373
7474 steps :
7575 - uses : actions/checkout@v2
7676 - name : Use Node.js ${{ matrix.node-version }}
77- uses : actions/setup-node@v2.4.0
77+ uses : actions/setup-node@v2
7878 with :
7979 node-version : ${{ matrix.node-version }}
8080 cache : yarn
8686 run : yarn test --coverage
8787 env :
8888 CI : true
89- - uses : codecov/codecov-action@v2.0.3
90- if : always()
89+ - uses : codecov/codecov-action@v2
9190 test-os :
9291 name : Test on ${{ matrix.os }} using Node.js LTS
9392 needs : prepare-yarn-cache
9998
10099 steps :
101100 - uses : actions/checkout@v2
102- - uses : actions/setup-node@v2.4.0
101+ - uses : actions/setup-node@v2
103102 with :
104- node-version : 14.x
103+ node-version : 16
105104 cache : yarn
106105 - name : install
107106 run : yarn
@@ -116,9 +115,9 @@ jobs:
116115 runs-on : ubuntu-latest
117116 steps :
118117 - uses : actions/checkout@v2
119- - uses : actions/setup-node@v2.4.0
118+ - uses : actions/setup-node@v2
120119 with :
121- node-version : 14.x
120+ node-version : 16
122121 cache : yarn
123122 - name : install
124123 run : yarn
@@ -139,9 +138,9 @@ jobs:
139138 runs-on : ubuntu-latest
140139 steps :
141140 - uses : actions/checkout@v2
142- - uses : actions/setup-node@v2.4.0
141+ - uses : actions/setup-node@v2
143142 with :
144- node-version : 14.x
143+ node-version : 16
145144 cache : yarn
146145 - name : install
147146 run : yarn
0 commit comments