Skip to content

Commit 39913cb

Browse files
authored
feat: raise minimum version of Node to v14.17 (#259) (#264)
BREAKING CHANGE: the minimum required version of node is now v14.17.
1 parent 6ff0c97 commit 39913cb

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ jobs:
1313
strategy:
1414
matrix:
1515
node-version:
16-
- 10
17-
- 12
18-
- 14
16+
- 14.17
17+
- 16
1918
os:
2019
- ubuntu-latest
2120
runs-on: "${{ matrix.os }}"
@@ -26,6 +25,8 @@ jobs:
2625
with:
2726
node-version: "${{ matrix.node-version }}"
2827
cache: npm
28+
- name: Ensure dependencies are compatible with the version of node
29+
run: echo 'engine-strict=true' >> .npmrc
2930
- run: npm ci
3031
- run: "npm run test:ci"
3132
test:
@@ -38,4 +39,4 @@ jobs:
3839
node-version: 16
3940
cache: npm
4041
- run: npm ci
41-
- run: npm run lint
42+
- run: npm run lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"xo": "0.28.3"
4141
},
4242
"engines": {
43-
"node": ">=10.18"
43+
"node": ">=14.17"
4444
},
4545
"files": [
4646
"lib",

0 commit comments

Comments
 (0)