You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@actions/core support tree shaking when bundled in a GitHub Action. #1436
Describe the enhancement
At the moment, when using @actions/core npm package in your own bundled GitHub action, the bundler is unable to tree shake unused code from @actions/core.
Additional information
If we do the below, it should help most bundlers to determine what can be removed from @actions/core when bundling.
Activity
andykenward commentedon Jun 22, 2023
While waiting for this issue to be addressed, I've published a fork of
@actions/coreas@unlike/github-actions-corethat supportsuuidwithnode:cryptokamontat commentedon Mar 21, 2024
Hello @actions/actions-runtime, Is someone still working on this instead of using fork package?
andykenward commentedon Apr 21, 2024
@kamontat Should we submit a ADR as part of the Enhancements and Feature Requests to progress this issue?
kamontat commentedon Apr 24, 2024
Hi @robherley, I saw that you is a @actions engineers.
Do you have any suggestion to improve this issue.
fix(core): eliminate import cycles
fix(core): eliminate import cycles
fix(core): eliminate import cycles
fix(core): eliminate import cycles
fix(core): eliminate import cycles
justfalter commentedon Mar 16, 2026
FWIW, I've refreshed a PR (#2125) now that toolkit packages have been converted to ESM. Hopefully someone at GitHub picks it up.