Skip to content

Commit fc01120

Browse files
committed
chore!: upgrade to node 22
1 parent c0dab48 commit fc01120

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
node-version: [20]
19+
node-version: [22]
2020
os: [ubuntu-latest]
2121
steps:
2222
- name: Checkout repo

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
"exports": "./src/server.js",
77
"type": "module",
88
"engines": {
9-
"node": ">=12.0.0"
9+
"node": ">=22.0.0"
1010
},
1111
"scripts": {
1212
"start": "fastify start --log-level info --pretty-logs --watch src/app.js",
1313
"debug": "fastify start --debug --log-level info --log-level info --pretty-logs --watch src/app.js",
1414
"lint": "eslint",
1515
"lint:fix": "eslint --fix",
1616
"unit": "node --test --experimental-test-coverage",
17-
"coverage:lcov": "npm run unit -- --test-reporter=lcov --test-reporter-destination=lcov.info",
18-
"test": "npm run lint && npm run unit",
17+
"coverage:lcov": "node --run unit -- --test-reporter=lcov --test-reporter-destination=lcov.info",
18+
"test": "node --run lint && node --run unit",
1919
"license-checker": "npx license-checker --production --onlyAllow='Apache-2.0;Apache-2.0 WITH LLVM-exception;MIT;ISC;BSD-3-Clause;BSD-2-Clause' --excludePackages 'buffers@0.1.1;event-stream@0.9.8;png-js@0.1.1'",
2020
"super-linter": "docker run -e RUN_LOCAL=true -v $PWD:/tmp/lint github/super-linter",
2121
"mega-linter": "npx mega-linter-runner --container-name=mega-linter",

0 commit comments

Comments
 (0)