Use Docker image short-form Node.js tag in examples #6047
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Using the long-form tag for
cypress/browsers
Docker images, such as incypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
causes code examples to be so wide that scrolling can be necessary to view. See for example https://docs.cypress.io/app/continuous-integration/aws-codebuild#Cypress-Amazon-Public-ECR.
Starting from the release of the Cypress Docker image
cypress/browsers:22.11.0
, a short-form tag e.g.22.11.0
is available, which takes far less space to display than the long-form tag e.g.
node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
See
cypress/browsers
Tags.Change
Replace all long-form tags for
cypress/browser
in examples with their equivalent short-form tag22.12.0
, which is the Node.js Active LTS version. The full Docker image reference is thencypress/browsers:22.12.0
.For consistency, update also
cypress/base
tags in examples to the same short-form tag22.12.0
.