Skip to content

Commit 332fa3e

Browse files
committed
fix!: require Node.JS >=v20, test against v20-v23
1 parent e2b724e commit 332fa3e

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node-version: [14, 16, 18]
15+
node-version: [20, 22, 23]
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v22.14.0

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: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"main": "build/index.js",
2626
"types": "build/index.d.ts",
2727
"engines": {
28-
"node": ">=6.0.0"
28+
"node": ">=20.0.0"
2929
},
3030
"repository": {
3131
"type": "git",
@@ -34,6 +34,7 @@
3434
"scripts": {
3535
"build:transpile": "babel ./src --out-dir build --extensions '.ts'",
3636
"build:types": "tsc --project src",
37+
"build": "npm-run-all build:*",
3738
"lint": "npm-run-all lint:*",
3839
"lint:types": "tsc",
3940
"lint:style": "eslint .",

0 commit comments

Comments
 (0)