File tree Expand file tree Collapse file tree 3 files changed +331
-12
lines changed Expand file tree Collapse file tree 3 files changed +331
-12
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ jobs:
196196 - save-cache : *cache_save_gradle_build
197197
198198 # Build and test
199+ - run :
200+ name : Bundle
201+ command : npx 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/
199202 - run :
200203 name : Build Android apk
201204 command : cd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release --max-workers 2 -x bundleReleaseJsAndAssets
Original file line number Diff line number Diff line change 4848 "@babel/core" : " ^7.6.2" ,
4949 "@babel/runtime" : " ^7.6.2" ,
5050 "@react-native-community/eslint-config" : " ^0.0.5" ,
51- "@react-native-community/cli-platform-ios" : " 3.0.0" ,
51+ "@react-native-community/cli" : " 4.6.3" ,
52+ "@react-native-community/cli-platform-ios" : " 4.6.3" ,
5253 "@react-native-community/cli-platform-android" : " 4.6.3" ,
5354 "babel-jest" : " ^24.9.0" ,
5455 "babel-plugin-module-resolver" : " 3.1.3" ,
You can’t perform that action at this time.
0 commit comments