Skip to content

Commit e18ea9d

Browse files
authored
ci: stop testing against NodeJS v14, v16 (#321)
* 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 00b722f commit e18ea9d

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
@@ -14,9 +14,8 @@ jobs:
1414
strategy:
1515
matrix:
1616
node_version:
17-
- 14
18-
- 16
1917
- 18
18+
- 20
2019
steps:
2120
- uses: actions/checkout@v3
2221
- name: Use Node.js ${{ matrix.node_version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@
9090
"access": "public"
9191
},
9292
"engines": {
93-
"node": ">= 14"
93+
"node": ">= 18"
9494
}
9595
}

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)