Upgrade Node version to 24 (APS-19023)#84
Merged
karanshah-browserstack merged 2 commits intobrowserstack:masterfrom May 5, 2026
Merged
Upgrade Node version to 24 (APS-19023)#84karanshah-browserstack merged 2 commits intobrowserstack:masterfrom
karanshah-browserstack merged 2 commits intobrowserstack:masterfrom
Conversation
karanshah-browserstack
previously approved these changes
May 5, 2026
karanshah-browserstack
approved these changes
May 5, 2026
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
Migrates all actions in this repo from
node20(andnode16forbrowserstack-report-action) tonode24to address GitHub's Sept 2025 Node 20 deprecation. Customers using@masterare seeing a deprecation warning in their workflow runs today; once Node 20 is removed in Fall 2026 the actions will fail to start.Tracking ticket: APS-19023
Changes
action.yml—node20→node24setup-env/action.yml—node20→node24setup-local/action.yml—node20→node24browserstack-report-action/action.yml—node16→node24.github/workflows/setup-env.yml—node-version: 20.x→24.x.github/workflows/setup-local.yml—node-version: 20.x→24.xNo source or
dist/changes — only the runtime declaration.Test plan
npm install && npm teston Node 24 in all three sub-actions (117 tests passing — 36 setup-env, 63 setup-local, 18 browserstack-report-action)setup-env/setup-localworkflows pass onubuntu-latest / macos-latest / windows-latestonce the PR openssetup-env+setup-localfrom this branch in a downstream test repo, confirm the deprecation warning is gone and tunnel start/stop workNotes for reviewers
@masterpicks this up on their next CI run (no semver tags maintained on this repo).node24requires self-hosted runner version ≥2.327(released Sept 2025). Customers on stale self-hosted runners may need to upgrade; can document in README as a follow-up if support sees tickets.browserstack-report-action'sdist/index.jsis stale on master (pre-commit hook hasn't been run for a while). That's a separate cleanup, not in scope here.