fix: CI was not terminating when dist.js was not updated

This commit is contained in:
Michael Bolin
2025-11-02 11:30:14 -08:00
parent 189029fde6
commit 240f8bd187
+3 -2
View File
@@ -35,8 +35,9 @@ jobs:
- name: Ensure dist matches bundled output
run: |
if [[ -n "$(git status --porcelain dist)" ]]; then
status_output="$(git status --short -- dist)"
if [[ -n "$status_output" ]]; then
echo '::error::Detected modified files in dist/ after running pnpm run build. Please rebuild locally and commit the updated bundles.'
git --no-pager diff dist
echo "$status_output"
exit 1
fi