fix(ci): normalize workflow caches and restore bundle-size reporting#4519
fix(ci): normalize workflow caches and restore bundle-size reporting#4519ScriptedAlchemy merged 10 commits intomainfrom
Conversation
|
✅ Deploy Preview for module-federation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
@module-federation/devtools
@module-federation/cli
create-module-federation
@module-federation/data-prefetch
@module-federation/dts-plugin
@module-federation/enhanced
@module-federation/error-codes
@module-federation/esbuild
@module-federation/managers
@module-federation/manifest
@module-federation/metro
@module-federation/metro-plugin-rnc-cli
@module-federation/metro-plugin-rnef
@module-federation/modern-js
@module-federation/modern-js-v3
@module-federation/native-federation-tests
@module-federation/native-federation-typescript
@module-federation/nextjs-mf
@module-federation/node
@module-federation/retry-plugin
@module-federation/rsbuild-plugin
@module-federation/rspack
@module-federation/rspress-plugin
@module-federation/runtime
@module-federation/runtime-core
@module-federation/runtime-tools
@module-federation/sdk
@module-federation/storybook-addon
@module-federation/third-party-dts-extractor
@module-federation/treeshake-frontend
@module-federation/treeshake-server
@module-federation/typescript
@module-federation/utilities
@module-federation/webpack-bundler-runtime
@module-federation/bridge-react
@module-federation/bridge-react-webpack-plugin
@module-federation/bridge-shared
@module-federation/bridge-vue3
@module-federation/inject-external-runtime-core-plugin
commit: |
Bundle Size Report2 package(s) changed, 39 unchanged.
Total dist: 10.68 MB (+16.3 kB (+0.1%)) |
.github/workflows/pkg-pr-new.yml
Outdated
| - name: Build package workspace targets | ||
| run: pnpm run build:packages | ||
|
|
||
| - name: Save Turborepo cache |
There was a problem hiding this comment.
remove save setup from here
| - name: Build Internal Changesets Dependencies | ||
| run: pnpm exec turbo run build --filter=@changesets/assemble-release-plan --concurrency=20 | ||
|
|
||
| - name: Save Turborepo cache |
There was a problem hiding this comment.
remove save setup from here
Summary
.turbo/cachewhile keeping Turbo cache saves only inbuild-and-test.yml~/.cache/ms-playwrightbetween devtools runsactions/cache@v5for persistent tool-download cachingDetails
.turbo/cachewith the shared branch-based key, but onlybuild-and-test.ymlsaves it on successfulmainpushesdevtools.ymlnow uses its own concurrency group, restores cached Playwright browsers, and avoids repo-wide browser downloads during unrelated CI installspackages/chrome-devtools/install-deps.bashonly runs in GitHub Actions when the devtools workflow opts in, and installs Chromium-only assets on a cache missbundle-size.ymlruns directly on pull requests again sobundle-size-comment.ymlcan downloadbundle-size-statsfrom the correct workflow runValidation
actionlinton the touched workflow filesbash -n packages/chrome-devtools/install-deps.bashnode --check scripts/ensure-playwright.js