Skip to content

Commit 78747bf

Browse files
authored
ci: stop testing against NodeJS v18 (#738)
* 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 38dd554 commit 78747bf

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
@@ -87,6 +87,6 @@
8787
]
8888
},
8989
"engines": {
90-
"node": ">= 18"
90+
"node": ">= 20"
9191
}
9292
}

scripts/build.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ async function main() {
5353
".": {
5454
types: "./dist-types/index.d.ts",
5555
import: "./dist-src/index.js",
56-
default: "./dist-src/index.js"
56+
default: "./dist-src/index.js",
5757
},
5858
"./types": {
59-
types: "./dist-types/types.d.ts"
60-
}
59+
types: "./dist-types/types.d.ts",
60+
},
6161
},
6262
sideEffects: false,
6363
},

0 commit comments

Comments
 (0)