File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -156,18 +156,9 @@ jobs:
156156 name : Installing Yarn dependencies
157157 command : yarn --pure-lockfile --non-interactive --cache-folder ~/.cache/yarn
158158 - 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
168159 - 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
171162 - run :
172163 name : Build iOS app
173164 command : yarn build:e2e:ios
@@ -196,6 +187,9 @@ jobs:
196187 - save-cache : *cache_save_gradle_build
197188
198189 # 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/
199193 - run :
200194 name : Build Android apk
201195 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/'
21platform :ios , '9.0'
32require_relative '../../node_modules/@react-native-community/cli-platform-ios/native_modules'
43
You can’t perform that action at this time.
0 commit comments