Skip to content

Commit

Permalink
feat(node-version): raised the minimum required node version to one s…
Browse files Browse the repository at this point in the history
…upporting ESM (#177)

BREAKING CHANGE: the minimum required version of node is now v12.20
  • Loading branch information
travi committed Jan 7, 2022
1 parent a486121 commit a8cd4dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
strategy:
matrix:
node-version:
# minimal required version is 10.13, but ava requires 10.18
- 10.18
# minimal required version
- 12.20
# minimal required version for latest semantic-release
- 14.17
# latest LTS version
Expand Down Expand Up @@ -47,7 +47,7 @@ jobs:
with:
node-version: 16
cache: npm
- run: npm ci
- run: npm clean-install
- name: Ensure dependencies are compatible with the version of node
run: npx ls-engines@0.4
run: npx ls-engines
- run: npm run lint
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"xo": "0.47.0"
},
"engines": {
"node": ">=10.17"
"node": ">=12.20"
},
"files": [
"index.js",
Expand Down

0 comments on commit a8cd4dd

Please sign in to comment.