Skip to content

Commit

Permalink
chore: CI/CD use yarn@4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlethanh committed Apr 24, 2024
1 parent 0ad18e4 commit 055ffcd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cd-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ jobs:
run: npm i --location=global @metacraft/cli@latest

- name: Install yarn cli
run: corepack enable && corepack prepare yarn@3.6.4 --activate
run: corepack enable && corepack prepare yarn@4.1.1 --activate

- name: Set yarn version
run: yarn set version 4.1.1

- name: Install dependencies
run: yarn
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ jobs:
run: npm i --location=global @metacraft/cli@latest

- name: Install yarn cli
run: corepack enable && corepack prepare yarn@3.6.4 --activate
run: corepack enable && corepack prepare yarn@4.1.1 --activate

- name: Set yarn version
run: yarn set version 4.1.1

- name: Install dependencies
run: yarn
Expand Down

0 comments on commit 055ffcd

Please sign in to comment.