ci: add Node.js 24

Reference: https://github.com/nodejs/Release
This commit is contained in:
Damien Arrachequesne
2025-10-16 12:03:32 +02:00
parent 1dd729b1a1
commit 4fc25d80ec
3 changed files with 1948 additions and 739 deletions

View File

@@ -12,9 +12,12 @@ jobs:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
node-version:
- 20
- 22
- 24
steps:
- name: Checkout repository

2680
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"test": "npm run format:check && tsc && nyc mocha --require ts-node/register test/index.ts",
"test": "npm run format:check && tsc && nyc mocha --import=tsx test/index.ts",
"format:check": "prettier --check 'lib/**/*.ts' 'test/**/*.ts'",
"format:fix": "prettier --write 'lib/**/*.ts' 'test/**/*.ts'",
"prepack": "tsc"
@@ -34,7 +34,7 @@
"prettier": "~3.6.2",
"socket.io": "^4.6.1",
"socket.io-client": "^4.7.1",
"ts-node": "^9.1.1",
"tsx": "~4.20.6",
"typescript": "~5.9.3"
},
"engines": {