mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
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:
parent
215562ed40
commit
a80d5ddfb4
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user