File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -301,10 +301,12 @@ jobs:
301
301
path : |
302
302
**/node_modules
303
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
308
310
if : steps.node_modules.outputs.cache-hit != 'true'
309
311
- run : ./scripts/react-compiler/build-compiler.sh && ./scripts/react-compiler/link-compiler.sh
310
312
- run : yarn workspace eslint-plugin-react-hooks test
You can’t perform that action at this time.
0 commit comments