diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dd8a407553..05ae05ee68 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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