Skip to content

Commit 4af8be6

Browse files
authored
Remove support for Node.js 21 (#2423)
1 parent d357150 commit 4af8be6

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/build.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- ubuntu-latest
2121
- windows-latest
2222
# these versions must be kept in sync with enginesTested.node in package.json
23-
node-version: [18.x, 20.x, 21.x, 22.x]
23+
node-version: [18.x, 20.x, 22.6]
2424
fail-fast: false
2525

2626
steps:
@@ -37,7 +37,7 @@ jobs:
3737
- uses: actions/checkout@v3
3838
- uses: actions/setup-node@v3
3939
with:
40-
node-version: 22.x
40+
node-version: 22.6
4141
- run: npm install
4242
- run: npm run test-coverage
4343
- uses: coverallsapp/github-action@master
@@ -54,5 +54,5 @@ jobs:
5454
- uses: actions/checkout@v3
5555
- uses: actions/setup-node@v3
5656
with:
57-
node-version: 22.x
57+
node-version: 22.6
5858
- run: npm audit --groups dependencies --audit-level high

.github/workflows/site.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 22.x
15+
node-version: 22.6
1616
- run: npm install
1717
- run: npm run exports-generate-docs
1818
- run: |

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Please see [CONTRIBUTING.md](./CONTRIBUTING.md) on how to contribute to Cucumber
1515
- BREAKING CHANGE: Remove previously-deprecated `parseGherkinMessageStream` ([#2420](https://github.com/cucumber/cucumber-js/pull/2420))
1616
- BREAKING CHANGE: Remove previously-deprecated `PickleFilter` ([#2420](https://github.com/cucumber/cucumber-js/pull/2420))
1717
- BREAKING CHANGE: Remove previously-deprecated `Runtime` ([#2420](https://github.com/cucumber/cucumber-js/pull/2420))
18+
- BREAKING CHANGE: Remove support for Node.js 21 ([#2423](https://github.com/cucumber/cucumber-js/pull/2423))
1819

1920
## [10.9.0] - 2024-08-13
2021
### Added

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,10 @@
207207
},
208208
"types": "./lib/index.d.ts",
209209
"engines": {
210-
"node": "18 || >=20"
210+
"node": "18 || 20 || >=22"
211211
},
212212
"enginesTested": {
213-
"node": "18 || 20 || 21 || 22"
213+
"node": "18 || 20 || 22"
214214
},
215215
"dependencies": {
216216
"@cucumber/ci-environment": "10.0.1",

0 commit comments

Comments
 (0)