fix(ci): align github actions with yarn 4 frontend tooling

- Test suite workflow:
  - stop relying on setup-node's Yarn 1 cache integration for the frontend job
  - enable Corepack explicitly before the frontend install and test steps so the reusable test suite runs with Yarn 4
- Frontend threshold workflow:
  - switch the job from the old booklore-ui/npm path to frontend/Corepack/Yarn commands
  - keep the existing threshold logic, but run install, typecheck, build, and ESLint through the current frontend command surface
- Release workflows:
  - enable Corepack before installing Yarn-based release tooling in the stable and preview release jobs
  - remove the setup-node Yarn cache settings that fail against packageManager-pinned Yarn 4 projects
- Validation:
  - run just ui install-ci
  - verify the threshold workflow commands produce lint-results.json and build-output.log locally
  - run just ui deps and confirm just ui check now reaches the existing ESLint backlog instead of failing on Yarn 1 CI setup
This commit is contained in:
James Cox
2026-04-22 17:26:41 -04:00
committed by Zach Yale
parent dc2c1ec395
commit dcd264cf6b
4 changed files with 31 additions and 19 deletions
+5 -2
View File
@@ -58,8 +58,11 @@ jobs:
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6
with:
node-version: '24'
cache: 'yarn'
cache-dependency-path: tools/release/yarn.lock
- name: Enable Corepack
run: |
corepack enable
corepack yarn --version
- name: Install Release Tooling Dependencies
run: just release install