Skip to content

Commit

Permalink
Add explicit Node.js 22 support and testing (#2405)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss committed May 11, 2024
1 parent a28dc9b commit 9cb30b8
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
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]
node-version: [18.x, 20.x, 21.x, 22.x]
fail-fast: false

steps:
Expand All @@ -37,7 +37,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 22.x
- 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: 18.x
node-version: 22.x
- run: npm audit --groups dependencies --audit-level high
2 changes: 1 addition & 1 deletion .github/workflows/release-npm-latest.yaml
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '22'
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm install-test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-npm-next.yaml
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '22'
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm install-test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/site.yaml
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x
- run: npm install
- run: npm run exports-generate-docs
- run: |
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Expand Up @@ -8,7 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
Please see [CONTRIBUTING.md](./CONTRIBUTING.md) on how to contribute to Cucumber.

## [Unreleased]
- Ensure that parallel workers remain in-progress during retries. [#2404](https://github.com/cucumber/cucumber-js/pull/2404)
### Added
- Explicit support for Node.js 22 ([#2405](https://github.com/cucumber/cucumber-js/pull/2405))

### Fixed
- Ensure that parallel workers remain in-progress during retries ([#2404](https://github.com/cucumber/cucumber-js/pull/2404))

## [10.6.0] - 2024-04-25
### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -210,7 +210,7 @@
"node": "18 || >=20"
},
"enginesTested": {
"node": "18 || 20 || 21"
"node": "18 || 20 || 21 || 22"
},
"dependencies": {
"@cucumber/ci-environment": "10.0.1",
Expand Down

0 comments on commit 9cb30b8

Please sign in to comment.