File tree 2 files changed +5
-12
lines changed
2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -156,18 +156,9 @@ jobs:
156
156
name : Installing Yarn dependencies
157
157
command : yarn --pure-lockfile --non-interactive --cache-folder ~/.cache/yarn
158
158
- save-cache : *cache_save_yarn
159
- - restore_cache :
160
- key : 1-gems-{{ checksum "example/ios/Gemfile.lock" }}
161
- - run :
162
- name : Install CocoaPods
163
- command : cd example/ios && bundle check || bundle install --path vendor/bundle
164
- - save_cache :
165
- key : 1-gems-{{ checksum "example/ios/Gemfile.lock" }}
166
- paths :
167
- - vendor/bundle
168
159
- run :
169
- name : Install pod dependencies
170
- command : cd example/ios && bundle exec pod install
160
+ name : Install CocoaPods
161
+ command : cd example/ios && pod install
171
162
- run :
172
163
name : Build iOS app
173
164
command : yarn build:e2e:ios
@@ -196,6 +187,9 @@ jobs:
196
187
- save-cache : *cache_save_gradle_build
197
188
198
189
# Build and test
190
+ - run :
191
+ name : Bundle
192
+ command : react-native bundle --platform android --dev false --entry-file example/index.js --bundle-output example/android/app/src/main/assets/index.android.bundle --assets-dest example/android/app/src/main/res/
199
193
- run :
200
194
name : Build Android apk
201
195
command : cd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release --max-workers 2 -x bundleReleaseJsAndAssets
Original file line number Diff line number Diff line change 1
- source 'https://cdn.cocoapods.org/'
2
1
platform :ios , '9.0'
3
2
require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
4
3
You can’t perform that action at this time.
0 commit comments