From 240f8bd1871f3495ce67a67f4d671812db054c36 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Sun, 2 Nov 2025 11:29:50 -0800 Subject: [PATCH] fix: CI was not terminating when dist.js was not updated --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c68d226..0b67a05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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