react/scripts/react-compiler/build-compiler.sh
lauren 67338703aa
[ci] Update yarn and node_modules cache key (#32603)
Now that the compiler lint rule is merged into
eslint-plugin-react-hooks, we also need to update our caches so compiler
dependencies are also cached. This should fix the CI walltime regression
we are now seeing.
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32603).
* #32604
* __->__ #32603
2025-03-13 20:31:04 -04:00

15 lines
405 B
Bash
Executable File

#!/usr/bin/env bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
set -eo pipefail
if [[ "$REACT_CLASS_EQUIVALENCE_TEST" == "true" ]]; then
exit 0
fi
echo "Building babel-plugin-react-compiler..."
yarn --cwd compiler workspace babel-plugin-react-compiler build --dts