chore(deps): migrate to esm-only @actions packages#47
Merged
tenthirtyam merged 1 commit intoMay 4, 2026
Conversation
Upgrade all @actions dependencies to their latest ESM-only major versions and align the TypeScript and test configurations accordingly. Dependency changes: - @actions/cache: ^5.0.5 → ^6.0.0 - @actions/core: ^2.0.3 → ^3.0.1 - @actions/exec: ^2.0.0 → ^3.0.0 - @actions/tool-cache: ^3.0.1 → ^4.0.0 tsconfig.json: - module: CommonJS → ESNext - moduleResolution: (implicit node10) → bundler Allows TypeScript to natively consume ESM-only packages and emit ESM output consumed by ncc. No "type": "module" required in package.json; ncc bundles the ESM output to a CJS dist. tsconfig.test.json: - module: CommonJS (explicit override) - moduleResolution: Node16 - ignoreDeprecations: "6.0" Keeps ts-jest in CJS mode so Jest manual mocks in __mocks__/ continue to intercept @actions imports without loading the real ESM packages at test time. Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
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
Upgrade all @actions dependencies to their latest ESM-only major versions and align the TypeScript and test configurations accordingly.
Dependency changes:
tsconfig.json:tsconfig.test.json:Type
Please describe:
Breaking Changes?
Test and Documentation
Issue References
Additional Information