File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -243,20 +243,24 @@ jobs:
243
243
- checkout
244
244
- attach_workspace :
245
245
at : .
246
+ # Fixture copies some built packages from the workroot after install.
247
+ # That means dependencies of the built packages are not installed.
248
+ # We need to install dependencies of the workroot to fulfill all dependency constraints
249
+ - setup_node_modules
246
250
- restore_cache :
247
- name : Restore yarn cache
251
+ name : Restore yarn cache of fixture
248
252
keys :
249
253
- v2-yarn_cache_fixtures_flight-{{ arch }}-{{ checksum "yarn.lock" }}
250
254
- run :
251
- name : Install dependencies
255
+ name : Install fixture dependencies
252
256
working_directory : fixtures/flight
253
257
command : |
254
258
yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
255
259
if [ $? -ne 0 ]; then
256
260
yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
257
261
fi
258
262
- save_cache :
259
- name : Save yarn cache
263
+ name : Save yarn cache of fixture
260
264
key : v2-yarn_cache_fixtures_flight-{{ arch }}-{{ checksum "yarn.lock" }}
261
265
paths :
262
266
- ~/.cache/yarn
You can’t perform that action at this time.
0 commit comments