fix(ci): align workflow Node.js version with package engines - #4756
Open
MGPOCKY wants to merge 1 commit into
Open
fix(ci): align workflow Node.js version with package engines#4756MGPOCKY wants to merge 1 commit into
MGPOCKY wants to merge 1 commit into
Conversation
|
MGPOCKY
marked this pull request as ready for review
July 31, 2026 08:54
Contributor
|
Review Agent skipped this PR — @MGPOCKY doesn't have a Builder seat in this space. If you're @MGPOCKY: you may already have a seat under a different GitHub account. Reconnect GitHub If you're an admin: Add @MGPOCKY to this space |
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.
Why
Package metadata declares
engines.node/volta.node/.nvmrcas22, but CI workflows still pinnode-versionto a mismatched value.That can make CI run on a runtime the project no longer supports (or skip the version the package actually targets).
What changed
Update the affected workflow
node-versionpins so they satisfy22(using22where a concrete pin is needed)..github/workflows/lint-and-commit.ymlnode-version: '24.x'→node-version: '22.x'.github/workflows/publish-sdks.ymlnode-version: '24.x'→node-version: '22.x'.github/workflows/react-native-sdk-test-remote.ymlnode-version: '24.x'→node-version: '22.x'Test plan
engines.node/volta.node/.nvmrcis still22Found while auditing CI/package version consistency across popular repos.
Note
Low Risk
Workflow-only Node version pins with no application or runtime logic changes.
Overview
Aligns three GitHub Actions workflows with the repo’s Node 22 target by changing
setup-nodefromnode-version: '24.x'to'22.x'.Affected workflows: auto lint/commit (
lint-and-commit.yml), SDK publish (publish-sdks.yml), and React Native remote E2E (react-native-sdk-test-remote.yml). This brings them in line withci.ymland packageengines/.nvmrcexpectations so those jobs no longer run on Node 24.Reviewed by Cursor Bugbot for commit 724dbd4. Bugbot is set up for automated code reviews on this repo. Configure here.