Skip to content

Commit

Permalink
build!: Update to Node v22 (#32182)
Browse files Browse the repository at this point in the history
Updates Renovate's package.json>engines to add support for Node v22 LTS, and updates Renovate official Docker images to run on Node v22 instead of Node v20.

Closes #32068

BREAKING CHANGE: Renovate Docker images will now be based on Node.js v22 instead of v20
  • Loading branch information
rarkins committed Nov 4, 2024
1 parent b456ff4 commit c8cb839
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ concurrency:

env:
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
NODE_VERSION: 20
NODE_VERSION: 22
PDM_VERSION: 2.20.0.post1 # renovate: datasource=pypi depName=pdm
DRY_RUN: true
TEST_LEGACY_DECRYPTION: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
workflow_dispatch:

env:
NODE_VERSION: 20
NODE_VERSION: 22

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.18.0
22.11.0
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@
},
"homepage": "https://renovatebot.com",
"engines": {
"node": "^20.15.1",
"node": "^20.15.1 || ^22.11.0",
"pnpm": "^9.0.0"
},
"volta": {
"node": "20.18.0",
"node": "22.11.0",
"pnpm": "9.12.3"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FROM --platform=$BUILDPLATFORM ghcr.io/renovatebot/base-image:7.41.2@sha256:b104

# We want a specific node version here
# renovate: datasource=node-version
RUN install-tool node 20.18.0
RUN install-tool node 22.11.0

WORKDIR /usr/local/renovate

Expand Down

0 comments on commit c8cb839

Please sign in to comment.