You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds support for configuring the Metro port in Harness, including CLI overrides via `--metroPort`. Harness now also restores Android and iOS simulator Metro connection settings on cleanup so normal dev-mode launches keep working after a test run.
Adds support for configuring the Metro port in Harness, including CLI overrides via `--metroPort`. Harness now also restores Android and iOS simulator Metro connection settings on cleanup so normal dev-mode launches keep working after a test run.
Copy file name to clipboardExpand all lines: actions/shared/index.cjs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4209,6 +4209,7 @@ var coerce = {
4209
4209
varNEVER=INVALID;
4210
4210
4211
4211
// ../config/dist/types.js
4212
+
varDEFAULT_METRO_PORT=8081;
4212
4213
varRunnerSchema=external_exports.object({
4213
4214
name: external_exports.string().min(1,"Runner name is required").regex(/^[a-zA-Z0-9._-]+$/,"Runner name can only contain alphanumeric characters, dots, underscores, and hyphens"),
host: external_exports.string().min(1,"Host is required").optional(),
4225
+
metroPort: external_exports.number().int("Metro port must be an integer").min(1,"Metro port must be at least 1").max(65535,"Metro port must be at most 65535").optional().default(DEFAULT_METRO_PORT),
0 commit comments