Bundle Dependabot NPM updates with ESM compatibility fixes for @actions/github v9#14512
Draft
Bundle Dependabot NPM updates with ESM compatibility fixes for @actions/github v9#14512
Conversation
- Update @actions/core from 2.0.2 to 3.0.0 - Update @actions/io from 2.0.0 to 3.0.2 - Update @actions/github from 7.0.0 to 9.0.0 - Update @actions/glob from 0.5.0 to 0.6.1 - Update vitest from 4.0.17 to 4.0.18 - Update @vitest/coverage-v8 and @vitest/ui to 4.0.18 Convert @actions/github imports to dynamic imports for ESM compatibility: - @actions/github v9.0.0 is now ESM-only - Use dynamic import() in safe_output_unified_handler_manager.cjs - Use dynamic import() in frontmatter_hash_github_api.test.cjs - Use dynamic import() in test-live-github-api.cjs - Update setupProjectGitHubClient to be async - Update tests to await setupProjectGitHubClient calls All 164 JavaScript test files pass (3400 tests) Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update NPM dependencies in actions/setup/js directory
Bundle Dependabot NPM updates with ESM compatibility fixes for @actions/github v9
Feb 8, 2026
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.
Bundles 5 Dependabot updates for
actions/setup/js/: @actions/core (3.0.0), @actions/io (3.0.2), @actions/github (9.0.0), @actions/glob (0.6.1), and vitest (4.0.18).ESM Migration
@actions/github v9.0.0 is ESM-only (
"type": "module"), breaking CommonJSrequire()imports. Converted to dynamic imports:Changes
setupProjectGitHubClient()async, uses dynamic import, updated call site withawaitexpect(...).rejectsinstead ofexpect(() => ...))Package lock regenerated with
npm install.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.