Skip to content

Commit

Permalink
ci: build packages only when necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
louib-bitgo committed Nov 11, 2024
1 parent c7c2ba4 commit 56485c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ jobs:

- name: Install Packages
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
run: yarn install --with-frozen-lockfile

- name: build packages
if: steps.lerna-cache.outputs.cache-hit == 'true'
run: yarn run postinstall
run: yarn install --with-frozen-lockfile --ignore-scripts

- name: Lint Commit Messages
run: |
Expand All @@ -78,6 +74,10 @@ jobs:
- name: Check Package Dependencies
run: yarn run check-deps

- name: build packages
if: steps.lerna-cache.outputs.cache-hit == 'true'
run: yarn run postinstall

- name: Unit Test
run: yarn run unit-test-changed
env:
Expand Down

0 comments on commit 56485c2

Please sign in to comment.