Install Yarn in the frontend CI job instead of relying on setup-node's cache #89

Merged
ryan merged 1 commits from fix/ci-frontend-yarn into main 2026-10-13 08:58:49 -04:00
Owner

Every frontend CI run since the workflow was added (#78) failed at actions/setup-node: its cache: yarn option needs yarn already on PATH, and the Node 22.14.0 it installs ships without one (the log shows 'yarn:' empty, then the failure). The backend job has been passing. Now that main requires checks, this blocks every merge.

Fix: drop cache: yarn and install Yarn 1.22.22 (the lockfile's version) with npm before the frozen install.

Verified by running the frontend job's steps in a clean node:22.14.0 container: yarn 1.22.22 installs, the frozen lockfile install succeeds, 20 renderer tests pass, tsc passes, and the build succeeds. This PR's own CI run is the final check.

🤖 Generated with Claude Code

Every frontend CI run since the workflow was added (#78) failed at actions/setup-node: its cache: yarn option needs yarn already on PATH, and the Node 22.14.0 it installs ships without one (the log shows 'yarn:' empty, then the failure). The backend job has been passing. Now that main requires checks, this blocks every merge. Fix: drop cache: yarn and install Yarn 1.22.22 (the lockfile's version) with npm before the frozen install. Verified by running the frontend job's steps in a clean node:22.14.0 container: yarn 1.22.22 installs, the frozen lockfile install succeeds, 20 renderer tests pass, tsc passes, and the build succeeds. This PR's own CI run is the final check. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
ryan added 1 commit 2026-10-13 08:36:05 -04:00
Install Yarn in the frontend CI job instead of relying on setup-node's cache
CI / backend (pull_request) Successful in 41s
CI / frontend (pull_request) Successful in 30s
CI / backend (push) Successful in 42s
CI / frontend (push) Successful in 30s
bd4b8936e4
setup-node's `cache: yarn` needs yarn already on PATH, and the Node it
installs does not ship one, so the frontend job failed at setup on every
run. Install the lockfile's Yarn 1.22.22 explicitly instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ryan merged commit d40d9a039a into main 2026-10-13 08:58:49 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ryan/simbarag#89