Skip to content

Commit 448ba62

Browse files
authored
Merge pull request #133 from Puppo/chore-prepare-migration-to-node-test
chore: add Node.js 24.x and start migrate tests to node test
2 parents 2f83761 + fc51957 commit 448ba62

File tree

3 files changed

+45
-70
lines changed

3 files changed

+45
-70
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ${{ matrix.os }}
66
strategy:
77
matrix:
8-
node-version: [20.x, 22.x]
8+
node-version: [20.x, 22.x, 24.x]
99
os: [ubuntu-latest, windows-latest, macOS-latest]
1010
steps:
1111
- uses: actions/checkout@v3

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "index.js",
66
"types": "index.d.ts",
77
"scripts": {
8-
"unit": "tap --100 test/*.js",
9-
"cov": "tap --coverage-report=html -J test/*.js",
8+
"unit": "borp --no-typescript --timeout 300000 --reporter spec 'test/**/*.js'",
9+
"cov": "borp --coverage --no-typescript --check-coverage --lines 100 --functions 100 --statements 100 --branches 100 --timeout 300000 --reporter spec 'test/**/*.js'",
1010
"lint": "npm run lint:standard && npm run lint:typescript",
1111
"lint:standard": "standard | snazzy",
1212
"lint:typescript": "standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin index.d.ts test/types/*.ts | snazzy",
@@ -38,6 +38,7 @@
3838
"@typescript-eslint/eslint-plugin": "^5.30.5",
3939
"@typescript-eslint/parser": "^5.30.5",
4040
"autocannon": "^7.9.0",
41+
"borp": "^0.21.0",
4142
"concurrently": "^8.0.1",
4243
"fastify": "^5.0.0",
4344
"mercurius": "^15.0.0",

0 commit comments

Comments
 (0)