Skip to content

Commit e8ce501

Browse files
authored
ci: stop testing against NodeJS v14, v16 (#427)
BREAKING CHANGE: Drop support for NodeJS v14, v16
1 parent 554848c commit e8ce501

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.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
@@ -82,6 +82,6 @@
8282
]
8383
},
8484
"engines": {
85-
"node": ">= 14"
85+
"node": ">= 18"
8686
}
8787
}

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)