From 9106508fbb6831ba81d19763e1abb683f797aba8 Mon Sep 17 00:00:00 2001 From: jonathanmos <48201295+jonathanmos@users.noreply.github.com> Date: Wed, 8 Jul 2026 16:25:37 +0300 Subject: [PATCH] Explicitly build the babel plugin in benchmarks CI --- benchmarks/.benchmarks-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/benchmarks/.benchmarks-ci.yml b/benchmarks/.benchmarks-ci.yml index 5f945f463..54d851ddf 100644 --- a/benchmarks/.benchmarks-ci.yml +++ b/benchmarks/.benchmarks-ci.yml @@ -73,6 +73,14 @@ build-and-upload:app: - echo "Installing DDSDK dependencies" - yarn install + # `yarn install` does not run each workspace's `prepare` script (Yarn Berry only + # runs install/postinstall automatically), so packages that rely solely on + # `prepare` to produce their `lib/` output - like the babel plugin - are never + # built by the install step above. Build it explicitly so benchmarks' babel + # config (which loads @datadog/mobile-react-native-babel-plugin) can resolve it. + - echo "Building the babel plugin" + - (cd packages/react-native-babel-plugin && yarn prepare) + # Prepare Logs Directory - cd $(pwd)/benchmarks - mkdir -p logs