Skip to content

Commit 592fc7d

Browse files
committed
Install sandbox dependencies first
1 parent 59007d8 commit 592fc7d

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ jobs:
276276
clone_options: --depth 1 --verbose
277277
- attach_workspace:
278278
at: .
279+
- run:
280+
command: |
281+
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task chromatic)
282+
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
283+
name: Install sandbox dependencies
279284
- run:
280285
command: yarn task --task check-sandbox --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task check-sandbox) --no-link --start-from=never --junit
281286
name: Type check Sandboxes

.circleci/src/jobs/check-sandboxes.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ steps:
1313
clone_options: '--depth 1 --verbose'
1414
- attach_workspace:
1515
at: .
16+
- run:
17+
name: Install sandbox dependencies
18+
command: |
19+
TEMPLATE=$(yarn get-template --cadence << pipeline.parameters.workflow >> --task check-sandbox)
20+
cd sandbox/$(yarn get-sandbox-dir --template $TEMPLATE) && yarn
1621
- run:
1722
name: Type check Sandboxes
1823
command: yarn task --task check-sandbox --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task check-sandbox) --no-link --start-from=never --junit

0 commit comments

Comments
 (0)