Skip to content

Commit

Permalink
feat: raise minimum version of Node to v14.17 (#259) (#264)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: the minimum required version of node is now v14.17.
  • Loading branch information
abel-mak committed Aug 23, 2021
1 parent 6ff0c97 commit 39913cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ jobs:
strategy:
matrix:
node-version:
- 10
- 12
- 14
- 14.17
- 16
os:
- ubuntu-latest
runs-on: "${{ matrix.os }}"
Expand All @@ -26,6 +25,8 @@ jobs:
with:
node-version: "${{ matrix.node-version }}"
cache: npm
- name: Ensure dependencies are compatible with the version of node
run: echo 'engine-strict=true' >> .npmrc
- run: npm ci
- run: "npm run test:ci"
test:
Expand All @@ -38,4 +39,4 @@ jobs:
node-version: 16
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"xo": "0.28.3"
},
"engines": {
"node": ">=10.18"
"node": ">=14.17"
},
"files": [
"lib",
Expand Down

0 comments on commit 39913cb

Please sign in to comment.