Skip to content

chore(bundler-plugin-core): bump @actions/core and @actions/github#322

Merged
thomasrockhu-codecov merged 2 commits intomainfrom
chore/bump-actions-deps-bundler-plugin-core
Apr 8, 2026
Merged

chore(bundler-plugin-core): bump @actions/core and @actions/github#322
thomasrockhu-codecov merged 2 commits intomainfrom
chore/bump-actions-deps-bundler-plugin-core

Conversation

@thomasrockhu-codecov
Copy link
Copy Markdown
Contributor

@thomasrockhu-codecov thomasrockhu-codecov commented Apr 8, 2026

Summary

Bump @actions/core to ^3.0.0 and @actions/github to ^9.0.0 in @codecov/bundler-plugin-core, and set engines.node to >=20.0.0 to match upstream. Semver major because supported Node.js drops below 20 (breaking for anyone still on Node 18).

Notes (from actions/toolkit release notes)

@actions/core

  • v3.0.0: ESM-only; CommonJS callers must use dynamic import() instead of require(). This package already ships as ESM ("type": "module"), so consumption from modern bundlers and Node ESM is unchanged.
  • v2.x (between 1.x and 3.x): Node 24 support and @actions/http-client upgrades (including 3.x in the 2.x line).

@actions/github

  • v9.0.0: ESM-only (same consideration as @actions/core for this package). Release notes also mention improved TypeScript behavior with ESM and @octokit/core/types.
  • v8.0.0: Minimum Node.js is now 20 (previously 18); Octokit dependencies move to current major lines (@octokit/core, REST plugins, request stack).
  • v8.0.1: Dependency updates (undici, @actions/http-client).

Impact

  • Runtime usage in this repo is unchanged: context for GitHub Actions metadata and getIDToken() for OIDC uploads remain the supported APIs.
  • Node 18 is no longer a supported runtime for this package; use Node 20+ (aligned with @actions/github 8+ and this repo’s Volta pin on Node 20).

Other changes

  • Tests: GitHubActions unit tests no longer assign to GitHub.context (ESM export is read-only); they use a hoisted override and a getter in the Vitest mock.
  • Changeset: major bump for @codecov/bundler-plugin-core (Node engine floor and dependency majors).

@thomasrockhu-codecov thomasrockhu-codecov force-pushed the chore/bump-actions-deps-bundler-plugin-core branch 2 times, most recently from 91de673 to a97a1f7 Compare April 8, 2026 13:12
@sentry
Copy link
Copy Markdown

sentry bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.74%. Comparing base (c1737d0) to head (62f777f).
✅ All tests successful. No failed tests found.

Additional details and impacted files
Components Coverage Δ
Plugin core 98.05% <ø> (ø)
Rollup plugin 8.42% <ø> (ø)
Vite plugin 8.42% <ø> (ø)
Webpack plugin 56.84% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@codecov-notifications
Copy link
Copy Markdown

codecov-notifications bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Components Coverage Δ
Plugin core 98.05% <ø> (ø)
Rollup plugin 8.42% <ø> (ø)
Vite plugin 8.42% <ø> (ø)
Webpack plugin 56.84% <ø> (ø)

📢 Thoughts on this report? Let us know!

@sentry
Copy link
Copy Markdown

sentry bot commented Apr 8, 2026

Bundle Report

Changes will increase total bundle size by 949.03kB (11.77%) ⬆️⚠️, exceeding the configured threshold of 5%.

Bundle name Size Change
@codecov/vite-plugin-esm 6.39kB 5.15kB (415.5%) ⬆️⚠️
@codecov/remix-vite-plugin-esm 3.02kB 2.06kB (215.05%) ⬆️⚠️
@codecov/bundler-plugin-core-cjs 1.55MB 1.23MB (392.31%) ⬆️⚠️
@codecov/bundler-plugin-core-esm 14.67kB -297.93kB (-95.31%) ⬇️
@codecov/nuxt-plugin-esm 3.21kB 2.36kB (275.56%) ⬆️⚠️
@codecov/solidstart-plugin-esm 3.03kB 2.08kB (219.7%) ⬆️⚠️
@codecov/nextjs-webpack-plugin-esm 4.86kB 3.74kB (336.0%) ⬆️⚠️

Affected Assets, Files, and Routes:

view changes for bundle: @codecov/nuxt-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.mjs (New) 3.21kB 3.21kB 100.0% 🚀
index.d.cts (Deleted) -855 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/solidstart-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.mjs (New) 3.03kB 3.03kB 100.0% 🚀
index.d.cts (Deleted) -949 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/remix-vite-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.mjs (New) 3.02kB 3.02kB 100.0% 🚀
index.d.mts (Deleted) -957 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/vite-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.mjs (New) 6.39kB 6.39kB 100.0% 🚀
index.d.cts (Deleted) -1.24kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/nextjs-webpack-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.mjs (New) 4.86kB 4.86kB 100.0% 🚀
index.d.mts (Deleted) -1.11kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/bundler-plugin-core-cjs

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.cjs 1.23MB 1.55MB 392.31% ⚠️
view changes for bundle: @codecov/example-astro-5-app-server-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
manifest_CVhy-koJ.mjs (New) 3.37kB 3.37kB 100.0% 🚀
manifest_BADSAxEG.mjs (Deleted) -3.37kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/bundler-plugin-core-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.mts (New) 14.67kB 14.67kB 100.0% 🚀
index.mjs (Deleted) -312.6kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/rollup-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.mts (New) 1.3kB 1.3kB 100.0% 🚀
index.d.cts (Deleted) -1.3kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-next-app-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
server/middleware-*.js 852 bytes 888 bytes 2366.67% ⚠️
server/middleware-*.js -852 bytes 36 bytes -95.95%
static/-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/-*.js (New) 224 bytes 224 bytes 100.0% 🚀
static/wZftap2Vlo3Xr0LWTaget/_buildManifest.js (Deleted) -224 bytes 0 bytes -100.0% 🗑️
static/wZftap2Vlo3Xr0LWTaget/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-astro-app-server-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
manifest_B6uuZN6-.mjs (New) 3.34kB 3.34kB 100.0% 🚀
manifest_StXpn7uh.mjs (Deleted) -3.34kB 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/sveltekit-plugin-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
index.d.ts (New) 891 bytes 891 bytes 100.0% 🚀
index.d.mts (Deleted) -891 bytes 0 bytes -100.0% 🗑️
view changes for bundle: @codecov/example-next-15-app-client-array-push

Assets Changed:

Asset Name Size Change Total Size Change (%)
static/48B3Gbf-*.js (New) 543 bytes 543 bytes 100.0% 🚀
static/48B3Gbf-*.js (New) 77 bytes 77 bytes 100.0% 🚀
static/CsYlXIKM3_6qsgxHa7KRv/_buildManifest.js (Deleted) -543 bytes 0 bytes -100.0% 🗑️
static/CsYlXIKM3_6qsgxHa7KRv/_ssgManifest.js (Deleted) -77 bytes 0 bytes -100.0% 🗑️

- @actions/core ^3.0.0, @actions/github ^9.0.0; engines.node >=20
- Adjust GitHubActions tests: ESM context export is read-only
- Changeset: major (Node 18 no longer supported)
Inline @actions/core and @actions/github in unbuild (like @sentry/core) so
require() of dist/index.cjs works; ESM-only @actions v3+ cannot be external.
Set failOnWarn: false for expected inline dependency warnings. Update changeset.
@thomasrockhu-codecov thomasrockhu-codecov force-pushed the chore/bump-actions-deps-bundler-plugin-core branch from f94871d to 62f777f Compare April 8, 2026 16:12
@thomasrockhu-codecov thomasrockhu-codecov merged commit 08512e8 into main Apr 8, 2026
71 checks passed
@thomasrockhu-codecov thomasrockhu-codecov deleted the chore/bump-actions-deps-bundler-plugin-core branch April 8, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants