Skip to content

Commit

Permalink
chore(deps): move to active LTS node.js 22 / 22.11 for CI (#900)
Browse files Browse the repository at this point in the history
* chore(deps): move to active LTS node.js 22 / 22.11 for CI

* Update appveyor.yml to 22

* Update .circleci/config.yml to node-version 22.11.0

* Update azure-ci.yml to node 22.x
  • Loading branch information
MikeMcC399 authored Oct 30, 2024
1 parent d920d43 commit a460c7b
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ executors:
resource_class: macos.m1.medium.gen1
browsers:
docker:
- 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'

jobs:
win-test:
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
parallelism: 3
executor:
name: cypress/default
node-version: '20.13.1'
node-version: '22.11.0'
steps:
- cypress/install:
post-install: 'npm run build'
Expand All @@ -175,7 +175,7 @@ jobs:
parallelism: 2
executor:
name: cypress/default
node-version: '20.13.1'
node-version: '22.11.0'
steps:
- cypress/install:
install-browsers: true
Expand All @@ -188,7 +188,7 @@ jobs:
parallelism: 2
executor:
name: cypress/default
node-version: '20.13.1'
node-version: '22.11.0'
steps:
- cypress/install:
install-browsers: true
Expand All @@ -199,7 +199,7 @@ jobs:
release:
executor:
name: cypress/default
node-version: '20.13.1'
node-version: '22.11.0'
steps:
- checkout
- run: npx [email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chrome-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
chrome:
runs-on: ubuntu-24.04
# https://github.com/cypress-io/cypress-docker-images
container: cypress/browsers:node-20.14.0-chrome-126.0.6478.114-1-ff-127.0.1-edge-126.0.2592.61-1
container: cypress/browsers:node-22.11.0-chrome-130.0.6723.69-1-ff-132.0-edge-130.0.2849.56-1
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cache:

# this job installs npm dependencies and Cypress
install:
image: cypress/base:20.16.0
image: cypress/base:22.11.0
stage: build

script:
Expand All @@ -35,7 +35,7 @@ install:

# all jobs that actually run tests can use the same definition
.job_template:
image: cypress/base:20.16.0
image: cypress/base:22.11.0
stage: test
script:
# print CI environment variables for reference
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20
22
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://documentation.codeship.com/pro/languages-frameworks/nodejs/

# use Cypress provided image with all dependencies included
FROM cypress/base:20.16.0
FROM cypress/base:22.11.0
RUN node --version
RUN npm --version
WORKDIR /home/node/app
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pipeline {
agent {
// this image provides everything needed to run Cypress
docker {
image 'cypress/base:20.14.0'
image 'cypress/base:22.11.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ image: Visual Studio 2022
# https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
nodejs_version: "20"
nodejs_version: "22"

# Install scripts. (runs after repo cloning)
install:
Expand Down
2 changes: 1 addition & 1 deletion azure-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: '20.x'
versionSpec: '22.x'
displayName: 'Install Node.js'

# npm modules and Cypress binary should be cached
Expand Down
2 changes: 1 addition & 1 deletion basic/.circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
test:
docker:
- image: cypress/base:20.16.0
- image: cypress/base:22.11.0
steps:
- checkout
# restore folders with npm dependencies and Cypress binary
Expand Down
2 changes: 1 addition & 1 deletion basic/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cache:
- cache/Cypress

test:
image: cypress/base:20.16.0
image: cypress/base:22.11.0
stage: test
script:
- npm ci
Expand Down
2 changes: 1 addition & 1 deletion basic/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent {
// this image provides everything needed to run Cypress
docker {
image 'cypress/base:20.14.0'
image 'cypress/base:22.11.0'
}
}

Expand Down
2 changes: 1 addition & 1 deletion basic/azure-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- task: NodeTool@0
inputs:
versionSpec: '20.x'
versionSpec: '22.x'
displayName: 'Install Node.js'

# npm modules and Cypress binary should be cached
Expand Down
2 changes: 1 addition & 1 deletion basic/codeship-pro/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# https://documentation.codeship.com/pro/languages-frameworks/nodejs/

# use Cypress provided image with all dependencies included
FROM cypress/base:20.16.0
FROM cypress/base:22.11.0
RUN node --version
RUN npm --version
WORKDIR /home/node/app
Expand Down
2 changes: 1 addition & 1 deletion buddy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
type: "BUILD"
working_directory: "/buddy/cypress-example-kitchensink"
docker_image_name: "cypress/base"
docker_image_tag: "20.14.0"
docker_image_tag: "22.11.0"
execute_commands:
- "npm install --force"
- "npm run cy:verify"
Expand Down

0 comments on commit a460c7b

Please sign in to comment.