Skip to content

Commit a8cd4dd

Browse files
authored
feat(node-version): raised the minimum required node version to one supporting ESM (#177)
BREAKING CHANGE: the minimum required version of node is now v12.20
1 parent a486121 commit a8cd4dd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
strategy:
1616
matrix:
1717
node-version:
18-
# minimal required version is 10.13, but ava requires 10.18
19-
- 10.18
18+
# minimal required version
19+
- 12.20
2020
# minimal required version for latest semantic-release
2121
- 14.17
2222
# latest LTS version
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
node-version: 16
4949
cache: npm
50-
- run: npm ci
50+
- run: npm clean-install
5151
- name: Ensure dependencies are compatible with the version of node
52-
run: npx ls-engines@0.4
52+
run: npx ls-engines
5353
- run: npm run lint

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"xo": "0.47.0"
2727
},
2828
"engines": {
29-
"node": ">=10.17"
29+
"node": ">=12.20"
3030
},
3131
"files": [
3232
"index.js",

0 commit comments

Comments
 (0)