Skip to content

Commit 51401ff

Browse files
author
Sebastian Silbermann
committed
Ensure dependency constraints are fulfilled
1 parent bae0a65 commit 51401ff

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.circleci/config.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)