@@ -15,12 +15,12 @@ jobs:
1515 runs-on : ubuntu-latest
1616 strategy :
1717 matrix :
18- node-version : [16.x, 18.x, 20.x, 21 .x]
18+ node-version : [16.x, 18.x, 20.x, 22 .x]
1919
2020 steps :
21- - uses : actions/checkout@v2
21+ - uses : actions/checkout@v4
2222 - name : Test on Node.js ${{ matrix.node-version }}
23- uses : actions/setup-node@v1
23+ uses : actions/setup-node@v4
2424 with :
2525 node-version : ${{ matrix.node-version }}
2626 - run : npm ci
@@ -31,18 +31,18 @@ jobs:
3131 name : Code coverage
3232 runs-on : ubuntu-latest
3333 steps :
34- - uses : actions/checkout@v2
34+ - uses : actions/checkout@v4
3535 with :
3636 submodules : true
3737 - name : Generate coverage report
38- uses : actions/setup-node@v1
38+ uses : actions/setup-node@v4
3939 with :
40- node-version : 18 .x
40+ node-version : 22 .x
4141 - run : npm ci
4242 - run : npm run build --if-present
4343 - run : npm run coverage
4444 - name : Upload coverage report to storage
45- uses : actions/upload-artifact@v1
45+ uses : actions/upload-artifact@v4
4646 with :
4747 name : coverage
4848 path : coverage/lcov.info
@@ -52,15 +52,15 @@ jobs:
5252 needs : coverage
5353 runs-on : ubuntu-latest
5454 steps :
55- - uses : actions/checkout@v2
55+ - uses : actions/checkout@v4
5656 - name : Download coverage report from storage
57- uses : actions/download-artifact@v1
57+ uses : actions/download-artifact@v4
5858 with :
5959 name : coverage
6060 - name : Upload coverage report to codacy
61- uses : actions/setup-node@v1
61+ uses : actions/setup-node@v4
6262 with :
63- node-version : 18 .x
63+ node-version : 22 .x
6464 - run : |
6565 ( [[ "${CODACY_PROJECT_TOKEN}" != "" ]] && npm run coverage-publish ) || echo "Coverage report not published"
6666 env:
0 commit comments