Migrate action runtime from Node.js 20 to Node.js 24#692
Merged
Conversation
GitHub Actions has deprecated the node20 runtime; actions will be forced to run on node24 by default starting June 2026. Update all action.yml manifests, package.json (@types/node, @tsconfig/node24), package-lock.json, CI workflows, and rebundle dist/ output. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
approved |
prabhatp75
approved these changes
May 14, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates the repository’s JavaScript GitHub Actions runtime and build tooling from Node.js 20 to Node.js 24 to stay ahead of the upcoming GitHub Actions runtime deprecation and keep CI aligned with the new baseline.
Changes:
- Updated action manifests (
action.ymlfiles) to run withusing: 'node24'. - Updated Node-related TypeScript/build dependencies (
@types/node,@tsconfig/node24) and lockfile. - Updated CI workflows to run on Node
24.xand regenerated the bundleddist/actions/**/index.jsoutputs.
Reviewed changes
Copilot reviewed 37 out of 69 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| who-am-i/action.yml | Switch action runtime to Node 24. |
| upload-paportal/action.yml | Switch action runtime to Node 24. |
| upgrade-solution/action.yml | Switch action runtime to Node 24. |
| update-solution-version/action.yml | Switch action runtime to Node 24. |
| unpack-solution/action.yml | Switch action runtime to Node 24. |
| submit-catalog/action.yml | Switch action runtime to Node 24. |
| set-online-solution-version/action.yml | Switch action runtime to Node 24. |
| restore-environment/action.yml | Switch action runtime to Node 24. |
| reset-environment/action.yml | Switch action runtime to Node 24. |
| publish-solution/action.yml | Switch action runtime to Node 24. |
| pack-solution/action.yml | Switch action runtime to Node 24. |
| install-catalog/action.yml | Switch action runtime to Node 24. |
| install-application/action.yml | Switch action runtime to Node 24. |
| import-solution/action.yml | Switch action runtime to Node 24. |
| import-data/action.yml | Switch action runtime to Node 24. |
| export-solution/action.yml | Switch action runtime to Node 24. |
| export-data/action.yml | Switch action runtime to Node 24. |
| download-paportal/action.yml | Switch action runtime to Node 24. |
| deploy-package/action.yml | Switch action runtime to Node 24. |
| delete-solution/action.yml | Switch action runtime to Node 24. |
| delete-environment/action.yml | Switch action runtime to Node 24. |
| create-environment/action.yml | Switch action runtime to Node 24. |
| copy-environment/action.yml | Switch action runtime to Node 24. |
| clone-solution/action.yml | Switch action runtime to Node 24. |
| check-solution/action.yml | Switch action runtime to Node 24. |
| catalog-status/action.yml | Switch action runtime to Node 24. |
| branch-solution/action.yml | Switch action runtime to Node 24. |
| backup-environment/action.yml | Switch action runtime to Node 24. |
| assign-user/action.yml | Switch action runtime to Node 24. |
| assign-group/action.yml | Switch action runtime to Node 24. |
| add-solution-component/action.yml | Switch action runtime to Node 24. |
| actions-install/action.yml | Switch action runtime to Node 24. |
| action.yml | Switch root manifest runtime to Node 24. |
| package.json | Bump Node typings/tsconfig dependencies for Node 24 and add dependency overrides. |
| package-lock.json | Lockfile updates reflecting Node 24 dependency changes. |
| .github/workflows/pull-request.yml | Run CI on Node 24.x for PR validation. |
| .github/workflows/paportal-rolling-instance-actions.yml | Run portal workflow on Node 24.x. |
| .github/workflows/codeql.yml | Run CodeQL workflow build on Node 24.x. |
| dist/actions/who-am-i/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/submit-catalog/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/restore-environment/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/reset-environment/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/install-catalog/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/import-solution/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/import-data/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/export-solution/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/export-data/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/deploy-package/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/delete-environment/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/create-environment/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/copy-environment/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/clone-solution/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/catalog-status/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/branch-solution/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/backup-environment/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/assign-user/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/assign-group/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/add-solution-component/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
| dist/actions/actions-install/index.js | Regenerated bundled action output for Node 24-related dependency graph. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
23
to
24
| main: '../dist/actions/who-am-i/index.js' | ||
| # main: '../out/actions/who-am-i/index.js' |
Comment on lines
24
to
32
| - uses: actions/checkout@v3 | ||
| with: | ||
| lfs: true | ||
|
|
||
| - name: Setup Node.js environment | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 20.x | ||
| node-version: 24.x | ||
| registry-url: https://npm.pkg.github.com |
| @@ -49,7 +49,7 @@ jobs: | |||
| - name: Setup Node.js environment | |||
| uses: actions/setup-node@v3 | |||
Comment on lines
36
to
44
| - uses: actions/checkout@v3 | ||
| with: | ||
| lfs: true | ||
|
|
||
| - name: Setup Node.js environment | ||
| uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 20.x | ||
| node-version: 24.x | ||
| registry-url: https://npm.pkg.github.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
action.ymlmanifests fromusing: 'node20'tousing: 'node24'to address the GitHub Actions deprecation that forces node24 as default starting June 2026.@types/nodeto^24.0.0and switch@tsconfig/node20→@tsconfig/node24inpackage.json(+package-lock.json).node-version: 20.x→24.xin CI workflows (codeql.yml,paportal-rolling-instance-actions.yml,pull-request.yml).dist/actions/*/index.jsvianpm run update-dist.Test plan
npm installcleannpm run buildpassesnpm test— all 36 tests passingnpm run update-distregenerates all 31 action bundleswho-am-i/index.jsloads and executes under Node v24.14.1@users/jbujula/node24-fixand running a real workflowNotes
using:field inaction.ymlis the only thing forcing node24 at runtime.package.jsonversion intentionally not bumped — versioning is driven by git tags (v1,v1.x.y), not the npm version field.v1.10.0) and re-anchor the floatingv1andlatesttags so downstream consumers pick up the change.🤖 Generated with Claude Code