From e28e9a707b15daf6677bbf74c3c1ae9ddec3c324 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Mon, 24 Apr 2023 09:36:07 -0230 Subject: [PATCH] Update minimum Node.js version to v16 The minimum Node.js version has been updated to v16. This is the only version tested in CI because there is a known incompatibility with v18 that we will address in a later PR. This fixes build issues encountered on systems with Python v3.11 installed. --- .github/workflows/build-lint-test.yml | 2 +- .nvmrc | 2 +- README.md | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 95b187ed..e824a953 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - node-version: [14.x, 16.x] + node-version: [16.x] steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} diff --git a/.nvmrc b/.nvmrc index 958b5a36..6f7f377b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v14 +v16 diff --git a/README.md b/README.md index b91a2879..86824149 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ static-server node_modules/@metamask/test-dapp/dist --port 9011 ### Setup -- Install [Node.js](https://nodejs.org) version 14 +- Install [Node.js](https://nodejs.org) version 16 - If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you. - Install [Yarn v1](https://yarnpkg.com/en/docs/install) - Run `yarn setup` to install dependencies and run any required post-install scripts diff --git a/package.json b/package.json index 45c0d94c..dcb3b941 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "5.7.0", "description": "A simple dapp used in MetaMask e2e tests.", "engines": { - "node": ">= 14.0.0" + "node": ">= 16.0.0" }, "scripts": { "setup": "yarn install && yarn allow-scripts",