Fix CI (#33578)
Sebastian "Sebbie" Silbermann committed
Jun 19, 2025 at 23:40 UTC
a947eba4f2c8741d2c61a3b33fd79cf13bf9f39d
1 file changed
+6
-4
.github/workflows/runtime_build_and_test.yml
+6
-4
@@ -301,10 +301,12 @@ jobs:
301
path: |
302
**/node_modules
303
key: runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-${{ hashFiles('yarn.lock', 'compiler/yarn.lock') }}
304
- restore-keys: |
305
- runtime-and-compiler-node_modules-v6-${{ runner.arch }}-${{ runner.os }}-
306
- runtime-and-compiler-node_modules-v6-
307
- - run: yarn install --frozen-lockfile
304
+ - name: Install runtime dependencies
305
+ run: yarn install --frozen-lockfile
306
+ if: steps.node_modules.outputs.cache-hit != 'true'
307
+ - name: Install compiler dependencies
308
+ run: yarn install --frozen-lockfile
309
+ working-directory: compiler
310
if: steps.node_modules.outputs.cache-hit != 'true'
311
- run: ./scripts/react-compiler/build-compiler.sh && ./scripts/react-compiler/link-compiler.sh
312
- run: yarn workspace eslint-plugin-react-hooks test