Update @actions/cache and @actions/core to latest major versions#3
Merged
HiGarfield merged 2 commits intomainfrom Mar 26, 2026
Merged
Update @actions/cache and @actions/core to latest major versions#3HiGarfield merged 2 commits intomainfrom
HiGarfield merged 2 commits intomainfrom
Conversation
Agent-Logs-Url: https://github.com/HiGarfield/cachewrtbuild/sessions/6400143b-cafb-4248-b8b3-cb09088f9360 Co-authored-by: HiGarfield <32226909+HiGarfield@users.noreply.github.com>
Agent-Logs-Url: https://github.com/HiGarfield/cachewrtbuild/sessions/6400143b-cafb-4248-b8b3-cb09088f9360 Co-authored-by: HiGarfield <32226909+HiGarfield@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
HiGarfield
March 26, 2026 16:42
View session
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
Migrates this GitHub Action’s scripts to ESM to support the latest major versions of @actions/cache and @actions/core, which have dropped CommonJS.
Changes:
- Replaced CommonJS
requireusage with ESMimportsyntax in the action entry script. - Updated local module imports to include the
.jsextension for ESM compatibility.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Bumps
@actions/cachev4→v6 and@actions/corev1→v3. Both packages dropped CommonJS in their new major versions, requiring the action scripts to be migrated to ESM.Changes
package.json: Updated dependency versions; added"type": "module"fetch.js/save.js/utils.js: Converted from CommonJS (require/module.exports) to ESM (import/export)