Skip to content

Commit afa168c

Browse files
committed
ci: build packages only when necessary
Ticket: VL-2478
1 parent c7c2ba4 commit afa168c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ jobs:
5353

5454
- name: Install Packages
5555
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
56-
run: yarn install --with-frozen-lockfile
57-
58-
- name: build packages
59-
if: steps.lerna-cache.outputs.cache-hit == 'true'
60-
run: yarn run postinstall
56+
run: yarn install --with-frozen-lockfile --ignore-scripts
6157

6258
- name: Lint Commit Messages
6359
run: |
@@ -78,6 +74,10 @@ jobs:
7874
- name: Check Package Dependencies
7975
run: yarn run check-deps
8076

77+
- name: build packages
78+
if: steps.lerna-cache.outputs.cache-hit == 'true'
79+
run: yarn run postinstall
80+
8181
- name: Unit Test
8282
run: yarn run unit-test-changed
8383
env:

0 commit comments

Comments
 (0)