Update .github/workflows/unit-tests.yml

Co-authored-by: sonar-review-alpha[bot] <266116024+sonar-review-alpha[bot]@users.noreply.github.com>
This commit is contained in:
Jarek Potiuk 2026-04-09 18:57:30 +03:00 committed by GitHub
parent dd2390abf0
commit 6a9d90e716
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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