From 6a9d90e71679681374e203c20c3b2a16f6ca06e8 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 9 Apr 2026 18:57:30 +0300 Subject: [PATCH] Update .github/workflows/unit-tests.yml Co-authored-by: sonar-review-alpha[bot] <266116024+sonar-review-alpha[bot]@users.noreply.github.com> --- .github/workflows/unit-tests.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 7f4a17b..fa0a2ce 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -26,7 +26,11 @@ jobs: - name: Check dist/ is up-to-date run: | - if [ -n "$(git diff --name-only)" ]; then + if [ -n "$(git status --porcelain)" ]; then + echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes." + git status --short + exit 1 + fi echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes." git diff --name-only exit 1