Skip to content

Commit e9cb7f8

Browse files
build!: support node.js 18 and up (#107)
1 parent 6b0a5fb commit e9cb7f8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [12, 14, 16, 18]
12+
node: [18, 20]
1313
steps:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
- uses: actions/setup-node@v4
2929
with:
30-
node-version: 18
30+
node-version: 20
3131
- run: npm install
3232
- run: npm run lint
3333
release:
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/checkout@v4
3939
- uses: actions/setup-node@v4
4040
with:
41-
node-version: 18
41+
node-version: 20
4242
- run: npm install
4343
- run: npx semantic-release
4444
env:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
"xo": "^0.56.0"
3333
},
3434
"engines": {
35-
"node": ">=12.20.0"
35+
"node": ">=18"
3636
}
3737
}

0 commit comments

Comments
 (0)