From f9e635352669ab46b0fbeb4de4a59c20245ac7a3 Mon Sep 17 00:00:00 2001 From: Ruslan Lesiutin Date: Tue, 24 Dec 2024 20:26:21 +0000 Subject: [PATCH] DevTools: fix Compiler inegration test with 18.2 --- scripts/ci/download_devtools_regression_build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/download_devtools_regression_build.js b/scripts/ci/download_devtools_regression_build.js index 7195c194927b9..bdb2c0441b5c4 100755 --- a/scripts/ci/download_devtools_regression_build.js +++ b/scripts/ci/download_devtools_regression_build.js @@ -110,7 +110,7 @@ async function downloadRegressionBuild() { ); } - if (semver.gte(reactVersion, '18.2.0') && semver.lt(reactVersion, '19')) { + if (semver.gte(reactVersion, '18.2.0') && semver.lt(reactVersion, '19.0.0')) { console.log(chalk.white(`Downloading react-compiler-runtime\n`)); await exec( `npm install --prefix ${REGRESSION_FOLDER} react-compiler-runtime`