diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 2334065..8968f8b 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -9,14 +9,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - name: Checkout and setup environment uses: MetaMask/action-checkout-and-setup@v1 with: is-high-risk-environment: false node-version: ${{ matrix.node-version }} - cache-node-modules: ${{ matrix.node-version == '22.x' }} + cache-node-modules: ${{ matrix.node-version == '24.x' }} build: name: Build @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [22.x] + node-version: [24.x] steps: - name: Checkout and setup environment uses: MetaMask/action-checkout-and-setup@v1 @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [22.x] + node-version: [24.x] steps: - name: Checkout and setup environment uses: MetaMask/action-checkout-and-setup@v1 @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - name: Checkout and setup environment uses: MetaMask/action-checkout-and-setup@v1 @@ -96,7 +96,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18.x, 20.x, 22.x] + node-version: [20.x, 22.x, 24.x] steps: - name: Checkout and setup environment uses: MetaMask/action-checkout-and-setup@v1 diff --git a/package.json b/package.json index f1141f1..9a6fcc1 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ }, "packageManager": "yarn@4.1.1", "engines": { - "node": "^18.20 || ^20.17 || >=22" + "node": "^20 || ^22 || >=24" }, "publishConfig": { "access": "public", diff --git a/yarn.config.cjs b/yarn.config.cjs index 43fc1c8..417bca9 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -254,7 +254,7 @@ module.exports = defineConfig({ workspace.set('repository.url', `${workspaceRepository}.git`); // The package must specify the expected minimum Node versions - workspace.set('engines.node', '^18.20 || ^20.17 || >=22'); + workspace.set('engines.node', '^20 || ^22 || >=24'); // The package must provide the location of the CommonJS-compatible // entrypoint and its matching type declaration file.