Skip to content

Commit d133453

Browse files
committed
Increase minimum Node.js version to 16; recommended to 18 (MetaMask#152)
ci: run on node v20 instead of v19
1 parent 03e2af3 commit d133453

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- prepare
2525
strategy:
2626
matrix:
27-
node-version: [14.x, 16.x, 18.x, 19.x]
27+
node-version: [16.x, 18.x, 20.x]
2828
steps:
2929
- uses: actions/checkout@v3
3030
- name: Use Node.js ${{ matrix.node-version }}
@@ -49,7 +49,7 @@ jobs:
4949
- prepare
5050
strategy:
5151
matrix:
52-
node-version: [14.x, 16.x, 18.x, 19.x]
52+
node-version: [16.x, 18.x, 20.x]
5353
steps:
5454
- uses: actions/checkout@v3
5555
- name: Use Node.js ${{ matrix.node-version }}
@@ -80,7 +80,7 @@ jobs:
8080
- prepare
8181
strategy:
8282
matrix:
83-
node-version: [14.x, 16.x, 18.x, 19.x]
83+
node-version: [16.x, 18.x, 20.x]
8484
steps:
8585
- uses: actions/checkout@v3
8686
- name: Use Node.js ${{ matrix.node-version }}

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16
1+
v18

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ removes the specified account from the list of accounts.
8181

8282
### Setup
8383

84-
- Install [Node.js](https://nodejs.org) version 14 or greater
84+
- Install [Node.js](https://nodejs.org) version 16 or greater
8585
- If you are using [nvm](https://github.com/creationix/nvm#installation) (recommended) running `nvm use` will automatically choose the right node version for you.
8686
- Install [Yarn v3](https://yarnpkg.com/getting-started/install)
8787
- Run `yarn install` to install dependencies and run any required post-install scripts

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
},
7373
"packageManager": "[email protected]",
7474
"engines": {
75-
"node": ">=14.0.0"
75+
"node": "^16.20 || ^18.16 || >=20"
7676
},
7777
"publishConfig": {
7878
"access": "public",

0 commit comments

Comments
 (0)