diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 8a2aaf0..e81abb1 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v4 with: - node-version: '20.x' + node-version: '24.x' architecture: ${{ matrix.combo.arch }} - name: Install ALSA headers (Linux) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ad505bf..92974e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [24.x, 26.x] combo: - runs-on: ubuntu-latest os: ubuntu diff --git a/package.json b/package.json index 7a3042e..c069fec 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "author": "Nathan Rajlich (http://tootallnate.net)", "repository": "github:SlvCtrlPlus/node-speaker", "binary": { - "napi_versions": [3] + "napi_versions": [ + 3 + ] }, "files": [ "binding.gyp", @@ -30,10 +32,16 @@ }, "devDependencies": { "@types/node": "^18.0.0", - "mocha": "^11.7.5", + "mocha": "^11.7.6", "prebuildify": "^6.0.1", "standard": "^17.1.2" }, + "overrides": { + "mocha": { + "diff": "^8.0.3", + "serialize-javascript": "^7.0.5" + } + }, "engines": { "node": ">=18.0" },