Skip to content

Commit ea6f1f9

Browse files
wolfy1339nickfloydkfcampbell
authored
ci: stop testing against NodeJS v14, v16 (#849)
* build(package): set minimal node version in engines field to v18 BREAKING CHANGE: Drop support for NodeJS v14, v16 * build: set minimal node version in build script to v14 * 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 * ci: stop testing against NodeJS v14, v16 --------- Co-authored-by: Nick Floyd <139819+nickfloyd@users.noreply.github.com> Co-authored-by: Keegan Campbell <me@kfcampbell.com>
1 parent 9cfc37b commit ea6f1f9

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node_version:
16-
- 14
17-
- 16
15+
node:
1816
- 18
19-
name: Node ${{ matrix.node_version }}
17+
- 20
18+
name: Node ${{ matrix.node }}
2019
steps:
2120
- uses: actions/checkout@v3
2221
- uses: actions/setup-node@v3

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"typescript": "^5.0.0"
6868
},
6969
"engines": {
70-
"node": ">= 14"
70+
"node": ">= 18"
7171
},
7272
"publishConfig": {
7373
"access": "public"

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)