Skip to content

Commit

Permalink
Chore(ci): Check for the clean working directory after the build
Browse files Browse the repository at this point in the history
  * we sometimes forget to built and commit an exporter build
  * this stops publishing of the packages because of dirty working directory
  • Loading branch information
literat committed Dec 16, 2024
1 parent c1f924c commit 878dd5f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,11 @@ jobs:

- name: Build packages
run: yarn build

- name: Check for clean working directory
run: |
if [[ -n "$(git status --porcelain)" ]]; then
echo "Error: Git working directory is not clean"
git status
exit 1
fi

0 comments on commit 878dd5f

Please sign in to comment.