Skip to content

Commit

Permalink
Remove support for Node.js 21 (#2423)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed Aug 28, 2024
1 parent d357150 commit 4af8be6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- ubuntu-latest
- windows-latest
# these versions must be kept in sync with enginesTested.node in package.json
node-version: [18.x, 20.x, 21.x, 22.x]
node-version: [18.x, 20.x, 22.6]
fail-fast: false

steps:
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22.x
node-version: 22.6
- run: npm install
- run: npm run test-coverage
- uses: coverallsapp/github-action@master
Expand All @@ -54,5 +54,5 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22.x
node-version: 22.6
- run: npm audit --groups dependencies --audit-level high
2 changes: 1 addition & 1 deletion .github/workflows/site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 22.x
node-version: 22.6
- run: npm install
- run: npm run exports-generate-docs
- run: |
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Please see [CONTRIBUTING.md](./CONTRIBUTING.md) on how to contribute to Cucumber
- BREAKING CHANGE: Remove previously-deprecated `parseGherkinMessageStream` ([#2420](https://github.com/cucumber/cucumber-js/pull/2420))
- BREAKING CHANGE: Remove previously-deprecated `PickleFilter` ([#2420](https://github.com/cucumber/cucumber-js/pull/2420))
- BREAKING CHANGE: Remove previously-deprecated `Runtime` ([#2420](https://github.com/cucumber/cucumber-js/pull/2420))
- BREAKING CHANGE: Remove support for Node.js 21 ([#2423](https://github.com/cucumber/cucumber-js/pull/2423))

## [10.9.0] - 2024-08-13
### Added
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@
},
"types": "./lib/index.d.ts",
"engines": {
"node": "18 || >=20"
"node": "18 || 20 || >=22"
},
"enginesTested": {
"node": "18 || 20 || 21 || 22"
"node": "18 || 20 || 22"
},
"dependencies": {
"@cucumber/ci-environment": "10.0.1",
Expand Down

0 comments on commit 4af8be6

Please sign in to comment.