Skip to content

Commit 27dc405

Browse files
committed
Change to yarn 2+ ("yarn berry")
Yarn 1 has been abandoned for quite a while. Signed-off-by: Mark Yen <[email protected]>
1 parent 02f8410 commit 27dc405

File tree

5 files changed

+16662
-12089
lines changed

5 files changed

+16662
-12089
lines changed

.github/actions/yarn-install/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ runs:
3939
run: echo "M1=1" >> "${GITHUB_ENV}"
4040
shell: bash
4141

42-
- run: yarn install --frozen-lockfile
42+
- run: yarn install --immutable
4343
shell: bash
4444

4545
- name: Fix electron sandbox

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@
1919
/resources/win32/
2020
/screenshots/output/
2121
/src/go/rdctl/pkg/options/generated/*.go
22+
/.yarn/

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"node": "^22.14.0"
1212
},
1313
"type": "module",
14-
"packageManager": "yarn@1.22.21",
14+
"packageManager": "yarn@4.9.4",
1515
"repository": {
1616
"type": "git",
1717
"url": "https://github.com/rancher-sandbox/rancher-desktop.git"

0 commit comments

Comments
 (0)