File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ parameters:
88 description : Workspace root path that is either an absolute path or a path relative to the working directory. Defaults to '.' (the working directory).
99 type : string
1010 default : .
11+ start_metro :
12+ description : If we should start the Metro packager in the background for this job.
13+ type : boolean
14+ default : false
1115 # For the start emulator command
1216 device_name :
1317 description : The name of the AVD. You use this name to tell which device to run tests on. Defaults to 'TestingAVD'.
@@ -41,6 +45,10 @@ steps:
4145 at : <<parameters.workspace_root>>
4246 - setup_macos_executor
4347 - yarn_install
48+ - when :
49+ condition : <<parameters.start_metro>>
50+ steps :
51+ - metro_start
4452 - android_emulator_start :
4553 device_name : <<parameters.device_name>>
4654 platform_version : <<parameters.platform_version>>
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ parameters:
1616 description : Workspace root path that is either an absolute path or a path relative to the working directory. Defaults to '.' (the working directory).
1717 type : string
1818 default : .
19+ start_metro :
20+ description : If we should start the Metro packager in the background for this job.
21+ type : boolean
22+ default : false
1923 # For the iOS build command
2024 project_type :
2125 description : If the iOS app is built using a project file (*.xcodeproj) or a workspace.
@@ -65,6 +69,10 @@ steps:
6569 - ios_simulator_start :
6670 device : <<parameters.device>>
6771 - yarn_install
72+ - when :
73+ condition : <<parameters.start_metro>>
74+ steps :
75+ - metro_start
6876 - ios_build :
6977 project_path : <<parameters.project_path>>
7078 derived_data_path : <<parameters.derived_data_path>>
You can’t perform that action at this time.
0 commit comments