ci: bump Node.js to 22 in workflows#51
Merged
Merged
Conversation
The @commitlint/cli, @commitlint/config-conventional and lint-staged major updates require Node.js >= 22 (Node 18/20 support dropped). Align the CI, release and auto-format workflows with the new engine requirement. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Bumps the Node.js version from 20 to 22 in all GitHub Actions workflows.
The recent Dependabot major updates require Node.js >= 22:
@commitlint/cli21.2.0 (Bump @commitlint/cli from 20.5.0 to 21.2.0 #48)@commitlint/config-conventional21.2.0 (Bump @commitlint/config-conventional from 20.5.0 to 21.2.0 #49)lint-staged17.0.8 (Bump lint-staged from 16.4.0 to 17.0.8 #50)All three drop Node 18/20 support. These tools only run as local Husky
hooks (not in CI), so CI was not failing — but aligning the workflow
runtime with the new engine requirement keeps things consistent.
Affected workflows
.github/workflows/ci.yml.github/workflows/main.yml.github/workflows/format-weblate.yml🤖 Generated with Claude Code