diff --git a/package.json b/package.json index cc809336c..8220027cf 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "@callstack/react-native-visionos": "0.76 - 0.79", "@expo/config-plugins": ">=5.0", "react": "18.2 - 19.1", - "react-native": "0.76 - 0.82 || >=0.83.0-0 <0.83.0", + "react-native": "0.76 - 0.83 || >=0.83.0-0 <0.84.0", "react-native-macos": "^0.0.0-0 || 0.76 - 0.79", "react-native-windows": "^0.0.0-0 || 0.76 - 0.80" }, diff --git a/scripts/testing/test-matrix.mts b/scripts/testing/test-matrix.mts index b1511b7fe..d887892fd 100644 --- a/scripts/testing/test-matrix.mts +++ b/scripts/testing/test-matrix.mts @@ -338,20 +338,29 @@ if (platforms.length === 0) { process.exitCode = 1; showBanner(red("No valid platforms were specified")); } else { - TEST_VARIANTS.reduce( - (job, variant) => { - return job.then(() => - withReactNativeVersion(version, async () => { - for (const platform of platforms) { - await buildRunTest({ version, platform, variant }); - } - }) - ); - }, - waitForUserInput( - `${TAG} Before continuing, make sure all emulators/simulators and Appium/Metro instances are closed.\n${TAG}\n${TAG} Press any key to continue...` + TEST_VARIANTS.filter((variant) => + platforms.some((platform) => + PLATFORM_CONFIG[platform].isAvailable({ + version, + platform, + variant, + engine: "hermes", + }) ) ) + .reduce( + (job, variant) => + job.then(() => + withReactNativeVersion(version, async () => { + for (const platform of platforms) { + await buildRunTest({ version, platform, variant }); + } + }) + ), + waitForUserInput( + `${TAG} Before continuing, make sure all emulators/simulators and Appium/Metro instances are closed.\n${TAG}\n${TAG} Press any key to continue...` + ) + ) .then(() => { showBanner("Initialize new app"); $( diff --git a/yarn.lock b/yarn.lock index 2a3b92466..6b22da2c4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12349,7 +12349,7 @@ __metadata: "@callstack/react-native-visionos": 0.76 - 0.79 "@expo/config-plugins": ">=5.0" react: 18.2 - 19.1 - react-native: 0.76 - 0.82 || >=0.83.0-0 <0.83.0 + react-native: 0.76 - 0.83 || >=0.83.0-0 <0.84.0 react-native-macos: ^0.0.0-0 || 0.76 - 0.79 react-native-windows: ^0.0.0-0 || 0.76 - 0.80 peerDependenciesMeta: