mirror of
https://github.com/SamyRai/tercul-frontend.git
synced 2025-12-27 04:51:34 +00:00
fix: Enable Corepack in CI workflows to resolve Yarn version conflicts
This commit is contained in:
parent
4e70fe0bb6
commit
b82b9c87c2
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -20,6 +20,9 @@ jobs:
|
|||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
|
|
||||||
|
- name: Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
|
|||||||
7
.github/workflows/lint.yml
vendored
7
.github/workflows/lint.yml
vendored
@ -20,12 +20,11 @@ jobs:
|
|||||||
node-version: "20"
|
node-version: "20"
|
||||||
cache: "yarn"
|
cache: "yarn"
|
||||||
|
|
||||||
|
- name: Enable Corepack
|
||||||
|
run: corepack enable
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|
||||||
- name: Type check
|
- name: Type check
|
||||||
run: yarn check
|
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
if: always()
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user