Fix CI workflows to use Yarn 4 (Berry) with corepack

- Add packageManager field to package.json for corepack
- Add .yarnrc.yml with node-modules linker
- Update all workflows to use corepack enable + yarn --immutable
- Remove yarn cache from actions/setup-node (incompatible with Yarn 4)
This commit is contained in:
2026-02-13 01:42:00 +03:00
parent 46ca19c22d
commit 4c3920ddae
6 changed files with 34 additions and 16 deletions
+4 -2
View File
@@ -18,10 +18,12 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
- name: Enable Corepack
run: corepack enable
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Generate types
run: yarn codegen