Skip to content

[Chore] Speed up frontend CI dependency setup - #7

Draft
openroomote-bruno[bot] wants to merge 1 commit into
masterfrom
chore/optimize-frontend-ci-cache-2drlrnnk33bcl
Draft

openroomote-bruno[bot] wants to merge 1 commit into
masterfrom
chore/optimize-frontend-ci-cache-2drlrnnk33bcl

Conversation

@openroomote-bruno

Copy link
Copy Markdown

​Created by Roomote. View the task or mention @roomote for follow-up asks.

What changed

Make the shared frontend dependency cache specific to bun.lock. Frontend-capable CI jobs now skip bun install --frozen-lockfile when that exact cache is restored, while still installing after a fallback or cache miss.

Why this change was made

The reusable frontend setup is used by 42 workflow jobs across 32 CI workflows. Running a frozen install after every exact node_modules cache restore duplicates work without improving the resolved dependency tree.

Impact

Exact cache hits avoid the dependency-install step while preserving package patching. A lockfile change produces a new primary cache key and fallback caches still run the frozen install, so dependency updates remain correct. YAML parsing and whitespace checks pass; actionlint is unavailable in this environment.

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.

1 participant