Skip to content

Conversation

@MikeMcC399
Copy link
Collaborator

Situation

Workflows and examples currently use the GitHub Actions actions/setup-node version v4 with runs.using: node20.

GitHub has deprecated the use of node20 and will force runners to use node24 beginning on Mar 4, 2026 - see Deprecation of Node 20 on GitHub Actions runners.

Change

  • Update all usage of actions/setup-node in examples and documentation to v6 with runs.using: node24.

  • Harmonize the step name across examples to "Install Node.js"

  • Change example usage of node-version: 22 to node-version: 24 where used in text

@cypress-app-bot
Copy link

@MikeMcC399 MikeMcC399 added documentation Improvements or additions to documentation type: enhancement New feature or request type: dependencies labels Jan 15, 2026
@MikeMcC399 MikeMcC399 self-assigned this Jan 15, 2026
Use node-version: 24 in examples
@MikeMcC399

This comment was marked as outdated.

@MikeMcC399 MikeMcC399 marked this pull request as ready for review January 15, 2026 07:39
@MikeMcC399
Copy link
Collaborator Author

Note: After this PR is merged, I would plan to submit a PR to update the cypress-io/github-action to node24. The update to actions/setup-node is the last gating item, and it has been waiting for some time for the GitHub Actions team to progress with resolving their cache issues.

Copy link
Member

@jennifer-shehane jennifer-shehane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙏🏻

@MikeMcC399
Copy link
Collaborator Author

@jennifer-shehane

You've approved without yet merging. Would you like to now merge so that I can progress with other PRs?

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

Labels

documentation Improvements or additions to documentation type: dependencies type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update actions/setup-node to node24 version

4 participants