Skip to content

Commit 64f1ad9

Browse files
authored
ci: stop testing against NodeJS v14, v16 (#154)
* build(package): set minimal node version in engines field to v18 BREAKING CHANGE: Drop support for NodeJS v14, v16 * ci: stop testing against NodeJS v14, v16 * ci: stop testing against NodeJS v14, v16 * ci: stop testing against NodeJS v14, v16 * ci: stop testing against NodeJS v14, v16 * ci: stop testing against NodeJS v14, v16 * Update build.mjs
1 parent 32c9e64 commit 64f1ad9

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ jobs:
1313
strategy:
1414
matrix:
1515
node_version:
16-
- 14
17-
- 16
1816
- 18
17+
- 20
1918
steps:
2019
- uses: actions/checkout@v3
2120
- name: Use Node.js ${{ matrix.node_version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@
9191
]
9292
},
9393
"engines": {
94-
"node": ">= 14"
94+
"node": ">= 18"
9595
}
9696
}

scripts/build.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async function main() {
4242
outdir: "pkg/dist-node",
4343
bundle: true,
4444
platform: "node",
45-
target: "node14",
45+
target: "node18",
4646
format: "cjs",
4747
...sharedOptions,
4848
}),

0 commit comments

Comments
 (0)