File tree 2 files changed +16
-0
lines changed
2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ parameters:
8
8
description : Workspace root path that is either an absolute path or a path relative to the working directory. Defaults to '.' (the working directory).
9
9
type : string
10
10
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
11
15
# For the start emulator command
12
16
device_name :
13
17
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:
41
45
at : <<parameters.workspace_root>>
42
46
- setup_macos_executor
43
47
- yarn_install
48
+ - when :
49
+ condition : <<parameters.start_metro>>
50
+ steps :
51
+ - metro_start
44
52
- android_emulator_start :
45
53
device_name : <<parameters.device_name>>
46
54
platform_version : <<parameters.platform_version>>
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ parameters:
16
16
description : Workspace root path that is either an absolute path or a path relative to the working directory. Defaults to '.' (the working directory).
17
17
type : string
18
18
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
19
23
# For the iOS build command
20
24
project_type :
21
25
description : If the iOS app is built using a project file (*.xcodeproj) or a workspace.
@@ -65,6 +69,10 @@ steps:
65
69
- ios_simulator_start :
66
70
device : <<parameters.device>>
67
71
- yarn_install
72
+ - when :
73
+ condition : <<parameters.start_metro>>
74
+ steps :
75
+ - metro_start
68
76
- ios_build :
69
77
project_path : <<parameters.project_path>>
70
78
derived_data_path : <<parameters.derived_data_path>>
You can’t perform that action at this time.
0 commit comments