Skip to content

Migrate action runtime from Node.js 20 to Node.js 24#692

Merged
jbujula merged 3 commits into
mainfrom
users/jbujula/node24-fix
May 14, 2026
Merged

Migrate action runtime from Node.js 20 to Node.js 24#692
jbujula merged 3 commits into
mainfrom
users/jbujula/node24-fix

Conversation

@jbujula
Copy link
Copy Markdown
Collaborator

@jbujula jbujula commented May 4, 2026

Summary

  • Update all 33 action.yml manifests from using: 'node20' to using: 'node24' to address the GitHub Actions deprecation that forces node24 as default starting June 2026.
  • Bump @types/node to ^24.0.0 and switch @tsconfig/node20@tsconfig/node24 in package.json (+ package-lock.json).
  • Update node-version: 20.x24.x in CI workflows (codeql.yml, paportal-rolling-instance-actions.yml, pull-request.yml).
  • Rebundle dist/actions/*/index.js via npm run update-dist.

Test plan

  • npm install clean
  • npm run build passes
  • npm test — all 36 tests passing
  • npm run update-dist regenerates all 31 action bundles
  • Smoke test: bundled who-am-i/index.js loads and executes under Node v24.14.1
  • End-to-end validation in a consumer repo by pinning @users/jbujula/node24-fix and running a real workflow

Notes

  • Bundled JS is compatible with both Node 20 and Node 24; the using: field in action.yml is the only thing forcing node24 at runtime.
  • package.json version intentionally not bumped — versioning is driven by git tags (v1, v1.x.y), not the npm version field.
  • After merge, release owner needs to tag a new release (e.g., v1.10.0) and re-anchor the floating v1 and latest tags so downstream consumers pick up the change.

🤖 Generated with Claude Code

jbujula and others added 3 commits May 4, 2026 15:39
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>
@jbujula jbujula enabled auto-merge (squash) May 14, 2026 01:13
@prabhatp75 prabhatp75 requested a review from Copilot May 14, 2026 01:14
@prabhatp75
Copy link
Copy Markdown

approved

@jbujula jbujula merged commit cce9fe9 into main May 14, 2026
7 checks passed
@jbujula jbujula deleted the users/jbujula/node24-fix branch May 14, 2026 01:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml files) to run with using: 'node24'.
  • Updated Node-related TypeScript/build dependencies (@types/node, @tsconfig/node24) and lockfile.
  • Updated CI workflows to run on Node 24.x and regenerated the bundled dist/actions/**/index.js outputs.

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 thread action.yml
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants