File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -243,20 +243,24 @@ jobs:
243243 - checkout
244244 - attach_workspace :
245245 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
246250 - restore_cache :
247- name : Restore yarn cache
251+ name : Restore yarn cache of fixture
248252 keys :
249253 - v2-yarn_cache_fixtures_flight-{{ arch }}-{{ checksum "yarn.lock" }}
250254 - run :
251- name : Install dependencies
255+ name : Install fixture dependencies
252256 working_directory : fixtures/flight
253257 command : |
254258 yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
255259 if [ $? -ne 0 ]; then
256260 yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
257261 fi
258262 - save_cache :
259- name : Save yarn cache
263+ name : Save yarn cache of fixture
260264 key : v2-yarn_cache_fixtures_flight-{{ arch }}-{{ checksum "yarn.lock" }}
261265 paths :
262266 - ~/.cache/yarn
You can’t perform that action at this time.
0 commit comments