Skip to content

Commit 11d6862

Browse files
authored
ci: stop testing against NodeJS v14, v16 (#561)
* build(package): set minimal node version in engines field to v18 * build: update esbuild options to use Node 18 BREAKING CHANGE: Drop support for NodeJS v14, v16
1 parent 5d1c767 commit 11d6862

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
@@ -96,6 +96,6 @@
9696
]
9797
},
9898
"engines": {
99-
"node": ">= 14"
99+
"node": ">= 18"
100100
}
101101
}

scripts/build.mjs

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

0 commit comments

Comments
 (0)