Skip to content

Commit 7778ab6

Browse files
rekmarkslegobeat
andauthored
Bump minimum Node version to 16 (MetaMask#114)
* Bump minimum Node version to 16 * Set minimum versions of Node 18 and 20 Co-authored-by: legobeat <[email protected]>
1 parent d3556b3 commit 7778ab6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/build-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }}
1515
strategy:
1616
matrix:
17-
node-version: [14.x, 16.x, 18.x, 19.x]
17+
node-version: [16.x, 18.x, 20.x]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,7 +41,7 @@ jobs:
4141
- prepare
4242
strategy:
4343
matrix:
44-
node-version: [14.x, 16.x, 18.x, 19.x]
44+
node-version: [16.x, 18.x, 20.x]
4545
steps:
4646
- uses: actions/checkout@v3
4747
- name: Use Node.js ${{ matrix.node-version }}
@@ -69,7 +69,7 @@ jobs:
6969
- prepare
7070
strategy:
7171
matrix:
72-
node-version: [14.x, 16.x, 18.x, 19.x]
72+
node-version: [16.x, 18.x, 20.x]
7373
steps:
7474
- uses: actions/checkout@v3
7575
- name: Use Node.js ${{ matrix.node-version }}
@@ -103,7 +103,7 @@ jobs:
103103
- prepare
104104
strategy:
105105
matrix:
106-
node-version: [14.x, 16.x, 18.x, 19.x]
106+
node-version: [16.x, 18.x, 20.x]
107107
steps:
108108
- uses: actions/checkout@v3
109109
- 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+
lts/*

package.json

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

0 commit comments

Comments
 (0)