Skip to content

Commit f29067f

Browse files
authored
ci: stop testing against NodeJS v18 (#610)
* build(package): set minimal node version in engines field to v20 BREAKING CHANGE: Drop support for NodeJS v18 * build: set minimal node version in build script to v20 * ci: stop testing against NodeJS v18
1 parent 0263b39 commit f29067f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
node_version:
16-
- 18
1716
- 20
1817
- 22
18+
- 24
1919
steps:
2020
- uses: actions/checkout@v4
2121
- name: Use Node.js ${{ matrix.node_version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@
8181
"provenance": true
8282
},
8383
"engines": {
84-
"node": ">= 18"
84+
"node": ">= 20"
8585
}
8686
}

scripts/build.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function main() {
4545
outdir: "pkg/dist-node",
4646
bundle: true,
4747
platform: "node",
48-
target: "node18",
48+
target: "node20",
4949
format: "esm",
5050
...sharedOptions,
5151
});
@@ -79,8 +79,8 @@ async function main() {
7979
sideEffects: false,
8080
},
8181
null,
82-
2
83-
)
82+
2,
83+
),
8484
);
8585
}
8686
main();

0 commit comments

Comments
 (0)