[ci] Cache runtime and compiler only for test runs

We only need the compiler built for `yarn test` in the root directory.
Rather than always cache both for every step, let's just do it where
it's needed explicitly.
This commit is contained in:
Lauren Tan
2025-03-13 21:53:19 -04:00
parent 5429b786e2
commit 85f441cd04
4 changed files with 31 additions and 20 deletions
-1
View File
@@ -11,5 +11,4 @@ if [[ "$REACT_CLASS_EQUIVALENCE_TEST" == "true" ]]; then
fi
echo "Building babel-plugin-react-compiler..."
yarn --cwd compiler install --frozen-lockfile
yarn --cwd compiler workspace babel-plugin-react-compiler build --dts