Skip to content

Commit

Permalink
Merge pull request #2849 from AlchemyCMS/skip-build-js-if-no-changes
Browse files Browse the repository at this point in the history
fix(CI): Skip Build JS packages if no changes
  • Loading branch information
tvdeyen authored Apr 26, 2024
2 parents 75142e4 + 767eb05 commit 4473c22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0 # Fetch all history
- name: Get changed files
id: changed-yarn-lock
uses: tj-actions/changed-files@v41
Expand All @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
name: Build JS packages
needs: check_yarn_lock
if: ${{ needs.check_yarn_lock.outputs.yarn_lock_changed }}
if: needs.check_yarn_lock.outputs.yarn_lock_changed == 'true'
steps:
- uses: actions/checkout@v4
- name: Setup Node
Expand Down

0 comments on commit 4473c22

Please sign in to comment.