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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user