fix: Enable Corepack to install Yarn in CI workflow

- Add corepack enable step before yarn commands
- Corepack comes with Node.js and manages package managers
- Fixes 'Unable to locate executable file: yarn' error
- Required for Yarn 4 (Berry) specified in package.json
This commit is contained in:
Damir Mukimov 2025-12-24 23:13:45 +01:00
parent 215562ed40
commit a80d5ddfb4
No known key found for this signature in database
GPG Key ID: 42996CC7C73BC750

View File

@ -134,6 +134,8 @@ jobs:
node-version: '24' node-version: '24'
cache: 'yarn' cache: 'yarn'
cache-dependency-path: bugulma/frontend/yarn.lock cache-dependency-path: bugulma/frontend/yarn.lock
- name: Enable Corepack (for Yarn)
run: corepack enable
- name: Install dependencies - name: Install dependencies
working-directory: bugulma/frontend working-directory: bugulma/frontend
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile