Skip to content

Commit

Permalink
chore: try to solve the github action problem caused by yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAmar committed Aug 3, 2024
1 parent e5d40a9 commit 792992b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Enable Corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'
# corepack-enable: true

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'yarn'

- name: Install Dependencies
run: yarn
Expand Down

0 comments on commit 792992b

Please sign in to comment.