@@ -14,33 +14,30 @@ jobs:
1414 name : Lint JS
1515 runs-on : ubuntu-latest
1616 steps :
17- - name : Checkout code
18- uses : actions/checkout@v4
17+ - uses : actions/checkout@v5
1918 - name : Lint JS
2019 run : npx oxlint@latest -D perf
2120
2221 test :
2322 name : Unit tests
2423 runs-on : ubuntu-latest
2524 steps :
26- - uses : actions/checkout@v4
27- - name : Use Node.js
28- uses : actions/setup-node@v4
25+ - uses : actions/checkout@v5
26+ - uses : actions/setup-node@v5
2927 with :
30- cache : " npm "
31- - run : npm install --ignore-scripts --no-audit --no-fund
28+ node-version : 22
29+ - run : npm ci --ignore-scripts --no-audit --no-fund
3230 - run : npm test
3331
3432 code-coverage :
3533 name : Code coverage
3634 runs-on : ubuntu-latest
3735 steps :
38- - uses : actions/checkout@v4
39- - name : Use Node.js
40- uses : actions/setup-node@v4
36+ - uses : actions/checkout@v5
37+ - uses : actions/setup-node@v5
4138 with :
42- cache : " npm "
43- - run : npm install --ignore-scripts --no-audit --no-fund
39+ node-version : 22
40+ - run : npm ci --ignore-scripts --no-audit --no-fund
4441 - run : npx c8 --reporter=lcov npm test
4542 - name : Upload coverage reports to Codecov
4643 uses : codecov/codecov-action@v4
@@ -51,15 +48,12 @@ jobs:
5148 name : Lint package
5249 runs-on : ubuntu-latest
5350 steps :
54- - name : Checkout code
55- uses : actions/checkout@v4
56- - name : Use Node.js
57- uses : actions/setup-node@v4
51+ - uses : actions/checkout@v5
52+ - uses : actions/setup-node@v5
5853 with :
59- cache : " npm"
60- - run : npm install --ignore-scripts --no-audit --no-fund
61- - name : Build package
62- run : npm run build
54+ node-version : 22
55+ - run : npm ci --ignore-scripts --no-audit --no-fund
56+ - run : npm run build
6357 env :
6458 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
6559 - name : Lint package
0 commit comments