diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cbf5301..398acd3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,24 +4,34 @@ on: push: branches: [ "main" ] pull_request: - branches: [ "main" ] + branches: [ "main" ] jobs: test: - runs-on: ubuntu-latest - + strategy: + fail-fast: false + matrix: + node-version: [20, 22, 24, 25] steps: - name: Checkout Source Tree uses: actions/checkout@v3 + - name: Cache Node.js dependencies + uses: actions/cache@v3 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: Setup Node.js environment uses: actions/setup-node@v4 with: - node-version: 20 + node-version: "${{ matrix.node-version }}" - name: Install dependencies run: npm install --include=dev - + - name: Run tests - run: npm run test \ No newline at end of file + run: npm run test diff --git a/package-lock.json b/package-lock.json index 485efa3..a3e6386 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "ultimate-ws", - "version": "1.0.13", + "version": "2.0.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ultimate-ws", - "version": "1.0.13", + "version": "2.0.5", "license": "Apache-2.0", "dependencies": { "tseep": "^1.3.1", - "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0", - "ws": "^8.18.2" + "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.55.0", + "ws": "^8.18.3" }, "devDependencies": { "exit-hook": "^2.2.1" @@ -40,14 +40,14 @@ "license": "MIT" }, "node_modules/uWebSockets.js": { - "version": "20.52.0", - "resolved": "git+ssh://git@github.com/uNetworking/uWebSockets.js.git#cfc9a40d8132a34881813cec3d5f8e3a185b3ce3", + "version": "20.55.0", + "resolved": "git+ssh://git@github.com/uNetworking/uWebSockets.js.git#af546e5c53c957df9c9f6ba6f76f8534fcb6a505", "license": "Apache-2.0" }, "node_modules/ws": { - "version": "8.18.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.2.tgz", - "integrity": "sha512-DMricUmwGZUVr++AEAe2uiVM7UoO9MAVZMDu05UQOaUII0lp+zOzLLU4Xqh/JvTqklB1T4uELaaPBKyjE1r4fQ==", + "version": "8.18.3", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", + "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", "license": "MIT", "engines": { "node": ">=10.0.0" diff --git a/package.json b/package.json index 2a59f79..59c1a89 100644 --- a/package.json +++ b/package.json @@ -50,8 +50,8 @@ "homepage": "https://github.com/dimdenGD/ultimate-ws#readme", "dependencies": { "tseep": "^1.3.1", - "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.52.0", - "ws": "^8.18.2" + "uWebSockets.js": "github:uNetworking/uWebSockets.js#v20.55.0", + "ws": "^8.18.3" }, "devDependencies": { "exit-hook": "^2.2.1"