Skip to content

Commit 18f76fb

Browse files
committed
feat(react native): debug ci setup vi
1 parent 152db53 commit 18f76fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci-rn.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
- name: Set up Yarn 3.6.1 and plugins in react-native-zksync-sso
2828
working-directory: packages/sdk-platforms/react-native/react-native-zksync-sso
2929
run: |
30+
# Modify .yarnrc.yml before running any Yarn commands
31+
sed -i '/yarnPath:/d' .yarnrc.yml
32+
sed -i '/- path: .yarn\/plugins/d' .yarnrc.yml
33+
# Now set up Yarn with Corepack
3034
corepack enable
3135
corepack prepare yarn@3.6.1 --activate
32-
# Use --no-default-rc to ignore root Yarn config
3336
yarn --no-default-rc --version # Should output 3.6.1
34-
# Modify .yarnrc.yml to remove yarnPath and plugin paths
35-
sed -i '/yarnPath:/d' .yarnrc.yml
36-
sed -i '/- path: .yarn\/plugins/d' .yarnrc.yml
3737
# Import plugins dynamically
3838
yarn --no-default-rc plugin import @yarnpkg/plugin-interactive-tools
3939
yarn --no-default-rc plugin import @yarnpkg/plugin-workspace-tools

0 commit comments

Comments
 (0)