Skip to content

Commit 4cddbd7

Browse files
authored
ci: stop testing against NodeJS v18 (#286)
BREAKING CHANGE: Drop support for NodeJS v18
1 parent 197da5d commit 4cddbd7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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
@@ -67,6 +67,6 @@
6767
]
6868
},
6969
"engines": {
70-
"node": ">= 18"
70+
"node": ">= 20"
7171
}
7272
}

scripts/build.mjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function main() {
3636

3737
const entryPoints = ["./pkg/dist-src/index.js"];
3838

39-
await esbuild.build({
39+
await esbuild.build({
4040
entryPoints,
4141
outdir: "pkg/dist-bundle",
4242
bundle: true,
@@ -67,13 +67,13 @@ async function main() {
6767
import: "./dist-bundle/index.js",
6868
// Tooling currently are having issues with the "exports" field when there is no "default", ex: TypeScript, eslint, ncc
6969
default: "./dist-bundle/index.js",
70-
}
70+
},
7171
},
7272
sideEffects: false,
7373
},
7474
null,
75-
2
76-
)
75+
2,
76+
),
7777
);
7878
}
7979
main();

0 commit comments

Comments
 (0)