Skip to content

Commit df26f82

Browse files
committed
fix(ci): fix CLI commands in CI
1 parent 989c47a commit df26f82

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ jobs:
101101
102102
- name: Build integrated iOS tester app
103103
run: |
104-
cd apps/RNApp/ios
105-
xcodebuild -workspace RNApp.xcworkspace -scheme RNApp -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16' build CODE_SIGNING_ALLOWED=NO
104+
cd apps/tester-integrated/swift
105+
xcodebuild -workspace SwiftExample.xcworkspace -scheme SwiftExample -configuration Release -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 16' build CODE_SIGNING_ALLOWED=NO
106106
107107
packaging-android:
108108
name: Android integration workflow with CLI
@@ -134,12 +134,12 @@ jobs:
134134
- name: Package AAR with the Brownfield CLI
135135
run: |
136136
cd apps/RNApp
137-
node ../../packages/react-native-brownfield/node_modules/.bin/brownfield package:android --module-name :BrownfieldLib --variant release
137+
node ../../packages/react-native-brownfield/lib/commonjs/index.js package:android --module-name :BrownfieldLib --variant release
138138
139139
- name: Publish AAR artifact to Maven Local
140140
run: |
141141
cd apps/RNApp/android/BrownfieldLib
142-
node ../../packages/react-native-brownfield/node_modules/.bin/brownfield publish:android --module-name :BrownfieldLib
142+
node ../../packages/react-native-brownfield/lib/commonjs/index.js publish:android --module-name :BrownfieldLib
143143
144144
- name: Verify debug AAR exists in Maven Local
145145
run: stat ~/.m2/repository/com/rnapp/brownfieldlib/0.0.1-local/brownfieldlib-0.0.1-local-debug.aar
@@ -192,7 +192,7 @@ jobs:
192192
- name: Package iOS Framework with the Brownfield CLI
193193
run: |
194194
cd apps/RNApp
195-
node ../../packages/react-native-brownfield/node_modules/.bin/brownfield package:ios --workspace RNApp --scheme BrownfieldLib --configuration Release
195+
node ../../packages/react-native-brownfield/lib/commonjs/index.js package:ios --workspace RNApp --scheme BrownfieldLib --configuration Release
196196
197197
- name: Build Brownfield iOS native app
198198
run: |

0 commit comments

Comments
 (0)