Conversation
v3.0.0 is ESM-only which is incompatible with the current ncc/CJS build setup. Use v2.0.3 instead which adds Node 24 support while remaining CJS-compatible. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions runtime dependency to a CJS-compatible major version that supports newer Node runtimes while avoiding the ESM-only v3 line.
Changes:
- Bump
@actions/coredependency from^1.11.1to^2.0.3. - Refresh generated
dist/licenses.txtto reflect updated bundled dependency licensing.
Reviewed changes
Copilot reviewed 1 out of 5 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| package.json | Updates @actions/core to v2.0.3 for Node 24 support while keeping CJS compatibility. |
| dist/licenses.txt | Updates the bundled third-party license list consistent with regenerated artifacts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "license": "MIT", | ||
| "dependencies": { | ||
| "@actions/core": "^1.11.1", | ||
| "@actions/core": "^2.0.3", |
There was a problem hiding this comment.
For GitHub Actions that commit dist/ artifacts, using a caret range can make builds non-reproducible (a fresh install later may pick up a newer 2.x). Consider pinning to an exact version (e.g., 2.0.3) or using a more restrictive range if reproducible builds are a goal.
Suggested change
| "@actions/core": "^2.0.3", | |
| "@actions/core": "2.0.3", |
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.
v3.0.0 is ESM-only which is incompatible with the current ncc/CJS build setup. Use v2.0.3 instead which adds Node 24 support while remaining CJS-compatible.