mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-05-22 18:05:57 +00:00
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:
parent
dd2390abf0
commit
6a9d90e716
1 changed files with 5 additions and 1 deletions
6
.github/workflows/unit-tests.yml
vendored
6
.github/workflows/unit-tests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue