Skip to content

Commit 5cf74e4

Browse files
authored
feat(node-version): raised the minimum required version to v14.17 (#170)
BREAKING CHANGE: the minimum required version of node is now v14.17
1 parent 8f008ce commit 5cf74e4

File tree

3 files changed

+43
-40
lines changed

3 files changed

+43
-40
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 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
runs-on: ubuntu-latest
2019
steps:
2120
- uses: actions/checkout@v2
@@ -25,6 +24,8 @@ jobs:
2524
node-version: ${{ matrix.node-version }}
2625
cache: npm
2726
- run: npm ci
27+
- name: Ensure dependencies are compatible with the version of node
28+
run: npx ls-engines
2829
- run: npm run test:ci
2930
test:
3031
runs-on: ubuntu-latest

package-lock.json

Lines changed: 36 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@
2626
"clear-module": "4.1.1",
2727
"codecov": "3.8.3",
2828
"nyc": "15.1.0",
29-
"semantic-release": "17.4.7",
29+
"semantic-release": "18.0.0",
3030
"sinon": "11.1.2",
3131
"tempy": "1.0.1",
3232
"xo": "0.28.3"
3333
},
3434
"engines": {
35-
"node": ">=10.18"
35+
"node": ">=14.17"
3636
},
3737
"files": [
3838
"lib",
@@ -61,7 +61,7 @@
6161
"all": true
6262
},
6363
"peerDependencies": {
64-
"semantic-release": ">=15.8.0 <18.0.0"
64+
"semantic-release": ">=18.0.0"
6565
},
6666
"prettier": {
6767
"printWidth": 120,

0 commit comments

Comments
 (0)