Skip to content

Commit 1c8e7b2

Browse files
author
Louis Varin
authored
Merge pull request #5118 from BitGo/only-build-packages-before-unit-tests
ci: build packages only when necessary
2 parents c7c2ba4 + b3b9315 commit 1c8e7b2

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 4 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: |
@@ -75,6 +71,9 @@ jobs:
7571
- name: Check Source Code Formatting
7672
run: yarn run check-fmt
7773

74+
- name: build packages
75+
run: yarn run postinstall
76+
7877
- name: Check Package Dependencies
7978
run: yarn run check-deps
8079

0 commit comments

Comments
 (0)