Skip to content

Commit

Permalink
ci: stop testing against NodeJS v14, v16 (#849)
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

* 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 <[email protected]>
Co-authored-by: Keegan Campbell <[email protected]>
  • Loading branch information
3 people authored Jun 12, 2023
1 parent 9cfc37b commit ea6f1f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node_version:
- 14
- 16
node:
- 18
name: Node ${{ matrix.node_version }}
- 20
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"typescript": "^5.0.0"
},
"engines": {
"node": ">= 14"
"node": ">= 18"
},
"publishConfig": {
"access": "public"
Expand Down
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 ea6f1f9

Please sign in to comment.