File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 16
16
runs-on : ${{ matrix.os }}
17
17
strategy :
18
18
matrix :
19
- node-version : [20 ]
19
+ node-version : [22 ]
20
20
os : [ubuntu-latest]
21
21
steps :
22
22
- name : Checkout repo
Original file line number Diff line number Diff line change 6
6
"exports" : " ./src/server.js" ,
7
7
"type" : " module" ,
8
8
"engines" : {
9
- "node" : " >=12 .0.0"
9
+ "node" : " >=22 .0.0"
10
10
},
11
11
"scripts" : {
12
12
"start" : " fastify start --log-level info --pretty-logs --watch src/app.js" ,
13
13
"debug" : " fastify start --debug --log-level info --log-level info --pretty-logs --watch src/app.js" ,
14
14
"lint" : " eslint" ,
15
15
"lint:fix" : " eslint --fix" ,
16
16
"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" ,
19
19
"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'" ,
20
20
"super-linter" : " docker run -e RUN_LOCAL=true -v $PWD:/tmp/lint github/super-linter" ,
21
21
"mega-linter" : " npx mega-linter-runner --container-name=mega-linter" ,
You can’t perform that action at this time.
0 commit comments