Skip to content

Commit a947eba

Browse files
authored
Fix CI (#33578)
1 parent 374dfe8 commit a947eba

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/runtime_build_and_test.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,12 @@ jobs:
301301
path: |
302302
**/node_modules
303303
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
308310
if: steps.node_modules.outputs.cache-hit != 'true'
309311
- run: ./scripts/react-compiler/build-compiler.sh && ./scripts/react-compiler/link-compiler.sh
310312
- run: yarn workspace eslint-plugin-react-hooks test

0 commit comments

Comments
 (0)