88 timeout-minutes : 10
99 strategy :
1010 matrix :
11- node-version : [20 .x]
11+ node-version : [24 .x]
1212 steps :
13- - uses : actions/checkout@v4
13+ - uses : actions/checkout@v6
14+ with :
15+ persist-credentials : false
1416 - name : Use Node.js ${{ matrix.node-version }}
15- uses : actions/setup-node@v3
17+ uses : actions/setup-node@v6
1618 with :
1719 node-version : ${{ matrix.node-version }}
1820 - run : npm install
@@ -24,11 +26,13 @@ jobs:
2426 timeout-minutes : 10
2527 strategy :
2628 matrix :
27- node-version : [18.x, 20.x]
29+ node-version : [18.x, 20.x, 22.x, 24.x ]
2830 steps :
29- - uses : actions/checkout@v4
31+ - uses : actions/checkout@v6
32+ with :
33+ persist-credentials : false
3034 - name : Use Node.js ${{ matrix.node-version }}
31- uses : actions/setup-node@v3
35+ uses : actions/setup-node@v6
3236 with :
3337 node-version : ${{ matrix.node-version }}
3438 - run : npm install
@@ -40,11 +44,13 @@ jobs:
4044 timeout-minutes : 10
4145 strategy :
4246 matrix :
43- node-version : [20 .x]
47+ node-version : [24 .x]
4448 steps :
45- - uses : actions/checkout@v4
49+ - uses : actions/checkout@v6
50+ with :
51+ persist-credentials : false
4652 - name : Use Node.js ${{ matrix.node-version }}
47- uses : actions/setup-node@v3
53+ uses : actions/setup-node@v6
4854 with :
4955 node-version : ${{ matrix.node-version }}
5056 - run : npm install
@@ -56,18 +62,20 @@ jobs:
5662 runs-on : ubuntu-latest
5763 strategy :
5864 matrix :
59- node-version : [20 .x]
65+ node-version : [24 .x]
6066 steps :
61- - uses : actions/checkout@v4
67+ - uses : actions/checkout@v6
68+ with :
69+ persist-credentials : false
6270 - name : Use Node.js ${{ matrix.node-version }}
63- uses : actions/setup-node@v3
71+ uses : actions/setup-node@v6
6472 with :
6573 node-version : ${{ matrix.node-version }}
6674 - run : npm install
6775 - name : Generate coverage report
6876 run : npm run coverage-ci
6977 - name : Upload coverage to Codecov
70- uses : codecov/codecov-action@v4
78+ uses : codecov/codecov-action@v5
7179 with :
7280 file : ./coverage/lcov.info
7381 fail_ci_if_error : true
0 commit comments