Skip to content

Commit 152db53

Browse files
committed
feat(react native): debug ci setup v
1 parent 34f1fca commit 152db53

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci-rn.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ jobs:
2929
run: |
3030
corepack enable
3131
corepack prepare yarn@3.6.1 --activate
32-
# Remove yarnPath to avoid missing file error
32+
# Use --no-default-rc to ignore root Yarn config
33+
yarn --no-default-rc --version # Should output 3.6.1
34+
# Modify .yarnrc.yml to remove yarnPath and plugin paths
3335
sed -i '/yarnPath:/d' .yarnrc.yml
34-
# Remove plugin paths since we'll import them dynamically
3536
sed -i '/- path: .yarn\/plugins/d' .yarnrc.yml
36-
# Import the required plugins
37-
yarn plugin import @yarnpkg/plugin-interactive-tools
38-
yarn plugin import @yarnpkg/plugin-workspace-tools
39-
yarn --version # Should output 3.6.1
37+
# Import plugins dynamically
38+
yarn --no-default-rc plugin import @yarnpkg/plugin-interactive-tools
39+
yarn --no-default-rc plugin import @yarnpkg/plugin-workspace-tools
4040
4141
- name: Install dependencies
4242
working-directory: packages/sdk-platforms/react-native/react-native-zksync-sso
43-
run: yarn install
43+
run: yarn --no-default-rc install
4444

4545
- name: Build
4646
working-directory: packages/sdk-platforms/react-native/react-native-zksync-sso
47-
run: yarn prepare
47+
run: yarn --no-default-rc prepare

0 commit comments

Comments
 (0)