Skip to content

Commit e6e0836

Browse files
committed
feat: drop support for Node < 24 and test on Node 24 and 26
🤖 Generated with [OpenCode](https://opencode.ai) (Smart-router)
1 parent dd59376 commit e6e0836

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2626
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
2727
with:
28-
node-version: 24
28+
node-version: 26
2929
registry-url: https://registry.npmjs.org/
3030
package-manager-cache: false
3131

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
strategy:
1111
matrix:
1212
os: [ubuntu-latest, macOS-latest]
13-
node: [18, 20]
13+
node: [24, 26]
1414

1515
steps:
1616
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -33,7 +33,7 @@ jobs:
3333
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3434
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
3535
with:
36-
node-version: 20
36+
node-version: 26
3737
- run: |
3838
npm install
3939
npm test

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "4.7.2",
44
"description": "HTTPS server running on localhost",
55
"main": "index.js",
6+
"engines": {
7+
"node": ">=24"
8+
},
69
"scripts": {
710
"pretest": "eslint --ignore-path .gitignore .",
811
"test": "node node_modules/nyc/bin/nyc.js node_modules/mocha/bin/_mocha --exit",

0 commit comments

Comments
 (0)