Skip to content

Commit

Permalink
fix: drop Node 16 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node 16 is not longer supported. Node 18.17 is the minimum required version now.
homer0 committed Oct 2, 2023
1 parent d00ac45 commit d9cdda2
Showing 4 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -10,13 +10,11 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Read .nvmrc
run: echo "::set-output name=NVMRC::$(cat .nvmrc)"
id: nvm
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- name: Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: '.nvmrc'
- name: Install dependencies
env:
HUSKY: 0
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ['16', '18']
node: ['18', '20']
name: Run jest and ESLint (Node ${{ matrix.node }})
steps:
- uses: actions/checkout@v3
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18.17
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
},
"engine-strict": true,
"engines": {
"node": ">=16 <21"
"node": ">=18.17 <21"
},
"main": "src/index.js",
"scripts": {

0 comments on commit d9cdda2

Please sign in to comment.