Skip to content

Commit

Permalink
chore: upgrade yarn to 4.3.1
Browse files Browse the repository at this point in the history
We are no longer put yarn's binary in the
repository now, so it is required to enable
the corepack to install the yarn binary.

Run `corepack enable` to enable the corepack.
  • Loading branch information
MaikoTan committed Jun 26, 2024
1 parent 6752ade commit 9a91bb4
Show file tree
Hide file tree
Showing 6 changed files with 2,526 additions and 3,392 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4

- name: Enable Corepack
run: corepack enable

- name: Cache Yarn dependencies
uses: ./.github/actions/cache
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4

- name: Enable Corepack
run: corepack enable

- name: Cache Yarn dependencies
uses: ./.github/actions/cache
with:
Expand Down
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.3.cjs

This file was deleted.

6 changes: 4 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

enableImmutableInstalls: false

yarnPath: .yarn/releases/yarn-3.6.3.cjs
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"workspaces": [
"packages/*"
],
"packageManager": "yarn@3.6.3",
"packageManager": "yarn@4.3.1+sha512.af78262d7d125afbfeed740602ace8c5e4405cd7f4735c08feb327286b2fdb2390fbca01589bfd1f50b1240548b74806767f5a063c94b67e431aabd0d86f7774",
"license": "MIT",
"scripts": {
"build": "yakumo build",
Expand Down
Loading

0 comments on commit 9a91bb4

Please sign in to comment.