Skip to content

Commit 921c481

Browse files
Copilotdanmarshall
andcommitted
Drop Node 14.x support, require Node 16+ and npm 7+ for workspaces
Co-authored-by: danmarshall <[email protected]>
1 parent 1af9bcc commit 921c481

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x, 16.x, 18.x]
19+
node-version: [16.x, 18.x, 20.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
# npm workspaces require npm 7+, which comes with Node 15+
2122

2223
steps:
2324
- uses: actions/checkout@v3

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
"docs/demos",
99
"packages/*"
1010
],
11+
"engines": {
12+
"node": ">=16.0.0",
13+
"npm": ">=7.0.0"
14+
},
1115
"directories": {
1216
"doc": "docs"
1317
},

0 commit comments

Comments
 (0)