mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user