diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a4f54e12c..c4e6ea11e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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: @@ -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 @@ -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 diff --git a/.github/workflows/release-npm-latest.yaml b/.github/workflows/release-npm-latest.yaml index 538957972..01c604e0c 100644 --- a/.github/workflows/release-npm-latest.yaml +++ b/.github/workflows/release-npm-latest.yaml @@ -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 diff --git a/.github/workflows/release-npm-next.yaml b/.github/workflows/release-npm-next.yaml index 5a816d330..ced2df915 100644 --- a/.github/workflows/release-npm-next.yaml +++ b/.github/workflows/release-npm-next.yaml @@ -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 diff --git a/.github/workflows/site.yaml b/.github/workflows/site.yaml index df958110c..adde793c6 100644 --- a/.github/workflows/site.yaml +++ b/.github/workflows/site.yaml @@ -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: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f97d8597..99e73acd2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index 80252ee84..c3bcd80b0 100644 --- a/package.json +++ b/package.json @@ -210,7 +210,7 @@ "node": "18 || >=20" }, "enginesTested": { - "node": "18 || 20 || 21" + "node": "18 || 20 || 21 || 22" }, "dependencies": { "@cucumber/ci-environment": "10.0.1",