Skip to content

Commit 2950835

Browse files
authored
Add Node.js 24 support, remove Node.js 23 support (#67)
1 parent 3546201 commit 2950835

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- ubuntu-latest
1818
- macos-latest
1919
- windows-latest
20-
node-version: [22.x, 23.x]
20+
node-version: [22.x, 24.x]
2121
fail-fast: false
2222

2323
steps:
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v4
3838
- uses: actions/setup-node@v4
3939
with:
40-
node-version: 23.x
40+
node-version: 24.x
4141
- run: npm ci
4242
- run: npm run build
4343
- run: npm run coverage:check
@@ -49,7 +49,7 @@ jobs:
4949
- uses: actions/checkout@v4
5050
- uses: actions/setup-node@v4
5151
with:
52-
node-version: 23.x
52+
node-version: 24.x
5353
- run: npm ci
5454
- run: npm run build
55-
- run: npm run exports:check
55+
- run: npm run exports:check

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
### Added
10+
- Support Node.js 24 ([#67](https://github.com/cucumber/cucumber-node/pull/67))
11+
12+
### Removed
13+
- Drop support for Node.js 23 ([#67](https://github.com/cucumber/cucumber-node/pull/67))
914

1015
## [0.4.0] - 2025-03-25
1116
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ cucumber-node is [available on npm](https://www.npmjs.com/package/@cucumber/node
2929
npm install --save-dev @cucumber/node
3030
```
3131

32-
You'll need Node.js 22 or 23.
32+
You'll need Node.js 22 or 24.
3333

3434
## Get started
3535

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
"exports:update": "api-extractor run --verbose --local",
2323
"fix": "eslint --max-warnings 0 src --fix && prettier --write src test",
2424
"lint": "eslint --max-warnings 0 src && prettier --check src test",
25-
"test": "npm run test:unit && npm run test:integration",
26-
"test:integration": "tsc && mocha test/**/*.spec.ts",
25+
"test": "npm run test:unit && npm run test:integration && npm run test:cck",
26+
"test:cck": "tsc && mocha test/cck/*.spec.ts",
27+
"test:integration": "tsc && mocha test/integration/*.spec.ts",
2728
"test:unit": "mocha 'src/**/*.spec.ts'"
2829
},
2930
"dependencies": {

0 commit comments

Comments
 (0)