Skip to content

Commit ba566fc

Browse files
authored
ci: stop testing against NodeJS v14, v16 (#2446)
BREAKING CHANGE: Drop support for NodeJS v14, v16
1 parent 1ab74b0 commit ba566fc

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
@@ -97,6 +97,6 @@
9797
]
9898
},
9999
"engines": {
100-
"node": ">= 14"
100+
"node": ">= 18"
101101
}
102102
}

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)