1
0
Fork 0

Use node 18 (#20308)

* use node v18
This commit is contained in:
Brad Decker 2023-07-31 14:51:39 -05:00 committed by GitHub
parent 5df6a71cea
commit e2e1a5fe07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -3,16 +3,16 @@ version: 2.1
executors:
node-browsers:
docker:
- image: cimg/node:16.20-browsers
- image: cimg/node:18.17-browsers
node-browsers-medium-plus:
docker:
- image: cimg/node:16.20-browsers
- image: cimg/node:18.17-browsers
resource_class: medium+
environment:
NODE_OPTIONS: --max_old_space_size=2048
node-browsers-large:
docker:
- image: cimg/node:16.20-browsers
- image: cimg/node:18.17-browsers
resource_class: large
environment:
NODE_OPTIONS: --max_old_space_size=2048

2
.nvmrc
View File

@ -1 +1 @@
v16
v18

View File

@ -14,7 +14,7 @@ To learn how to contribute to the MetaMask project itself, visit our [Internal D
## Building locally
- Install [Node.js](https://nodejs.org) version 16
- Install [Node.js](https://nodejs.org) version 18
- If you are using [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) (recommended) running `nvm use` will automatically choose the right node version for you.
- Install [Yarn v3](https://yarnpkg.com/getting-started/install)
- ONLY follow the steps in the "Install Corepack" and "Updating the global Yarn version" sections

View File

@ -559,7 +559,7 @@
"yargs": "^17.0.1"
},
"engines": {
"node": "^16.20.0",
"node": ">= 18",
"yarn": "^3.2.4"
},
"lavamoat": {