Skip to content

Commit

Permalink
ci: stop testing against NodeJS v14, v16 (#637)
Browse files Browse the repository at this point in the history
* build(package): set minimal node version in engines field to v18
BREAKING CHANGE: Drop support for NodeJS v14, v16
  • Loading branch information
wolfy1339 authored Jun 12, 2023
1 parent e94662f commit b451e6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
strategy:
matrix:
node_version:
- 14
- 16
- 18
- 20
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@
"access": "public"
},
"engines": {
"node": ">= 14"
"node": ">= 18"
}
}
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function main() {
outdir: "pkg/dist-node",
bundle: true,
platform: "node",
target: "node14",
target: "node18",
format: "cjs",
...sharedOptions,
}),
Expand Down

0 comments on commit b451e6e

Please sign in to comment.