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 17, 2024
1 parent 1676c2d commit 724b9ba
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 724b9ba

Please sign in to comment.