@@ -12,20 +12,14 @@ jobs:
1212 lint :
1313 runs-on : ubuntu-latest
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 - name : Use Node.js
17- uses : actions/setup-node@v1
17+ uses : actions/setup-node@v4
1818 with :
19- node-version : 16.x
20- - id : yarn-cache-dir-path
21- run : echo "::set-output name=dir::$(yarn cache dir)"
22- - uses : actions/cache@v1
23- with :
24- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
25- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
26- restore-keys : ${{ runner.os }}-yarn-
19+ node-version : lts/*
20+ cache : " yarn"
2721 - run : yarn --frozen-lockfile
28- - uses : actions/cache@v1
22+ - uses : actions/cache@v4
2923 with :
3024 path : .eslintcache
3125 key : lint-${{ env.GITHUB_SHA }}
3630 fail-fast : false
3731 matrix :
3832 os : [ubuntu-latest, windows-latest, macos-latest]
39- node-version : [10.x, 12.x, 14.x, 16.x, 17 .x]
33+ node-version : [10.x, 12.x, 14.x, 16.x, 18.x, 20.x, 21 .x]
4034 polling : ["false", "200"]
4135 exclude :
4236 - os : macos-latest
@@ -52,27 +46,28 @@ jobs:
5246 node-version : 16.x
5347 polling : " 200"
5448 - os : macos-latest
55- node-version : 17.x
49+ node-version : 18.x
50+ polling : " 200"
51+ - os : macos-latest
52+ node-version : 20.x
53+ polling : " 200"
54+ - os : macos-latest
55+ node-version : 21.x
5656 polling : " 200"
5757 runs-on : ${{ matrix.os }}
5858 steps :
59- - uses : actions/checkout@v2
59+ - uses : actions/checkout@v4
6060 - name : Use Node.js ${{ matrix.node-version }}
61- uses : actions/setup-node@v1
61+ uses : actions/setup-node@v4
6262 with :
6363 node-version : ${{ matrix.node-version }}
64- - id : yarn-cache-dir-path
65- run : echo "::set-output name=dir::$(yarn cache dir)"
66- - uses : actions/cache@v1
67- with :
68- path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
69- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
70- restore-keys : ${{ runner.os }}-yarn-
64+ cache : " yarn"
7165 - run : yarn --frozen-lockfile
72- - run : yarn cover --report lcovonly
66+ - run : yarn test:coverage --report lcovonly
7367 env :
7468 WATCHPACK_POLLING : ${{ matrix.polling }}
75- - uses : codecov/codecov-action@v1
69+ - uses : codecov/codecov-action@v4
7670 with :
7771 flags : integration
7872 functionalities : gcov
73+ token : ${{ secrets.CODECOV_TOKEN }}
0 commit comments