Skip to content

Commit

Permalink
WIP calculate changed apps
Browse files Browse the repository at this point in the history
  • Loading branch information
bperel committed Aug 23, 2024
1 parent 9344b10 commit 9bbcc62
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,15 @@ jobs:

- name: Check apps changed since the last successful commit
run: |
changedAppsFilter=$(pnpm -r $changedAppsCommitFilter ls --depth -1 -j \
| jq -r '.[] | select(.path | contains("apps/")) | .name' \
| xargs -I {} echo -n "-F '{}' ")
echo "Changed apps: $changedAppsFilter"
echo "changedAppsFilter=$changedAppsFilter" >> $GITHUB_ENV
changedApps=$(pnpm -r $changedAppsCommitFilter -F './apps/**' ls --depth -1 -j)
echo "Changed apps: $changedApps"
- name: Install dependencies
run: |
set -x
pnpm -r $changedAppsFilter install
pnpm -r $changedAppsCommitFilter -F './apps/**' install
- name: Build apps
run: |
pnpm -r $changedAppsFilter build
pnpm -r $changedAppsCommitFilter -F './apps/**' build
exit 1

0 comments on commit 9bbcc62

Please sign in to comment.