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
+1
View File
@@ -1,6 +1,7 @@
{
"name": "subquery-pezkuwi",
"version": "1.0.0",
"packageManager": "yarn@4.12.0",
"description": "Pezkuwi SubQuery - Staking rewards, NominationPools, transfers indexer for PezWallet",
"main": "dist/index.js",
"scripts": {