Skip to content

Commit b451e6e

Browse files
authored
ci: stop testing against NodeJS v14, v16 (#637)
* build(package): set minimal node version in engines field to v18 BREAKING CHANGE: Drop support for NodeJS v14, v16
1 parent e94662f commit b451e6e

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
@@ -108,6 +108,6 @@
108108
"access": "public"
109109
},
110110
"engines": {
111-
"node": ">= 14"
111+
"node": ">= 18"
112112
}
113113
}

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)