Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): move to active LTS node.js 22 / 22.11 for CI #900

Merged
merged 4 commits into from
Oct 30, 2024

Conversation

MikeMcC399
Copy link
Collaborator

@MikeMcC399 MikeMcC399 commented Oct 30, 2024

Issue

On Oct 29, 2024 Node.js 22.x transitioned from Current to Active LTS status. At the same time Node.js 20.x transitioned from Active LTS to Maintenance LTS status. (See Blog Node.js 22.11.0.)

Change

  • Update .node-version from (Node.js) 20 to 22.
  • Update direct usage of Node.js in example workflows.
  • Update Docker images used in CI examples:
    • cypress/base:20.x to
      cypress/base:22.11.0 (including buddy.yml docker_image_tag)
    • cypress/browsers:node-20.x* to
      cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1

Note: These changes do not affect the content of the published npm package cypress-example-kitchensink, so no new version needs to be released.

Verify

On Ubuntu 24.04.1 LTS, Node.js 22.11.0 LTS

git clone https://github.com/cypress-io/cypress-example-kitchensink
cd cypress-example-kitchensink
npm ci
npm run local:run

@cypress-app-bot
Copy link
Collaborator

@MikeMcC399
Copy link
Collaborator Author

Note that

  • Appveyor lags behind and uses Node.js 22.6
  • CircleCI xcode 15.4.0 is outdated, however the latest xcode 16.1 GA offers only the following, so the update for the CircleCI mac-test* jobs is deferred:

    NodeJS Versions (nvm): v20.18.0 v23.1.0
    Default NodeJS: v20.18.0

@MikeMcC399 MikeMcC399 marked this pull request as ready for review October 30, 2024 15:43
@jennifer-shehane jennifer-shehane merged commit a460c7b into cypress-io:master Oct 30, 2024
11 checks passed
@MikeMcC399 MikeMcC399 deleted the update/node-lts branch October 30, 2024 16:33
@cypress-app-bot
Copy link
Collaborator

🎉 This PR is included in version 3.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants