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

Update examples Docker version to Node.js 22.x (LTS) #5979

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/app/continuous-integration/aws-codebuild.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,14 @@ version: 0.2
## https://docs.aws.amazon.com/codebuild/latest/userguide/batch-build-buildspec.html

## Define build to run using the
## "cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1" image
## "cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1" image
## from the Cypress Amazon ECR Public Gallery
batch:
fast-fail: false
build-list:
- identifier: cypress-e2e-tests
env:
image: public.ecr.aws/cypress-io/cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: public.ecr.aws/cypress-io/cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1

phases:
install:
Expand Down
8 changes: 4 additions & 4 deletions docs/app/continuous-integration/bitbucket-pipelines.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ example, this allows us to run the tests in Firefox by passing the
Read about [Cypress docker variants](/app/continuous-integration/overview#Cypress-Docker-variants) to decide which image is best for your project.

```yaml title="bitbucket-pipelines.yml"
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1

pipelines:
default:
Expand Down Expand Up @@ -87,7 +87,7 @@ Artifacts from a job can be defined by providing paths to the `artifacts`
attribute.

```yaml title="bitbucket-pipelines.yml"
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1

pipelines:
default:
Expand Down Expand Up @@ -151,7 +151,7 @@ recording test results to [Cypress Cloud](/cloud/get-started/introduction).
:::

```yaml title="bitbucket-pipelines.yml"
image: cypress/base:20.14.0
image: cypress/base:22.11.0

## job definition for running E2E tests in parallel
e2e: &e2e
Expand Down Expand Up @@ -210,7 +210,7 @@ definitions:
The complete `bitbucket-pipelines.yml` is below:

```yaml title="bitbucket-pipelines.yml"
image: cypress/base:20.14.0
image: cypress/base:22.11.0

## job definition for running E2E tests in parallel
e2e: &e2e
Expand Down
2 changes: 1 addition & 1 deletion docs/app/continuous-integration/github-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ jobs:
cypress-run:
runs-on: ubuntu-22.04
container:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
options: --user 1001
steps:
- name: Checkout
Expand Down
10 changes: 5 additions & 5 deletions docs/app/continuous-integration/gitlab-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ stages:
- test

test:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
stage: test
script:
# install dependencies
Expand Down Expand Up @@ -99,7 +99,7 @@ cache:
- .npm/

test:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
stage: test
script:
# install dependencies
Expand Down Expand Up @@ -166,7 +166,7 @@ cache:

## Install npm dependencies and Cypress
install:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
stage: build
script:
- npm ci
Expand Down Expand Up @@ -211,13 +211,13 @@ cache:

## Install npm dependencies and Cypress
install:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
stage: build
script:
- npm ci

ui-chrome-tests:
image: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
image: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
stage: test
parallel: 5
script:
Expand Down