diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 13ebf78f..1bb37609 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [12.x, 14.x, 16.x, 18.x, 20.x] + node-version: [16.x, 18.x, 20.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc index dae199ae..6f7f377b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12 +v16 diff --git a/package.json b/package.json index dcdba211..7a61af76 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "repository": "https://github.com/MetaMask/web3-provider-engine", "main": "index.js", "engines": { - "node": ">=12.0.0" + "node": "^16.20 || ^18.16 || >=20" }, "scripts": { "test": "node test/index.js && yarn lint",