Skip to content

Commit

Permalink
feat(node-versions): raised the minimum required node version to v18 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
travi committed Nov 21, 2022
1 parent cf6befa commit 8a0d8be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/test.yml
Expand Up @@ -17,9 +17,8 @@ jobs:
strategy:
matrix:
node-version:
- 14.17
- 16.0.0
- 17
- 18.0.0
- 19

runs-on: ubuntu-latest

Expand All @@ -32,7 +31,9 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm clean-install
- name: Ensure dependencies are compatible with the version of node
run: npx ls-engines
- run: npm run test:ci

# separate job to set as required in branch protection,
Expand All @@ -44,9 +45,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: lts/*
cache: npm
- run: npm ci
- name: Ensure dependencies are compatible with the version of node
run: npx ls-engines@0.4
- run: npm clean-install
- run: npm run lint
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -79,7 +79,7 @@
"semantic-release": "20.0.0-beta.1"
},
"engines": {
"node": ">=16 || ^14.17"
"node": ">=18"
},
"files": [
"bin",
Expand Down

0 comments on commit 8a0d8be

Please sign in to comment.