mirror of
https://github.com/SonarSource/sonarqube-scan-action.git
synced 2026-05-22 18:05:57 +00:00
Check only dist folder
This commit is contained in:
parent
a100e88166
commit
d3bd05bd6e
1 changed files with 2 additions and 2 deletions
4
.github/workflows/unit-tests.yml
vendored
4
.github/workflows/unit-tests.yml
vendored
|
|
@ -32,9 +32,9 @@ jobs:
|
|||
|
||||
- name: Check dist/ is up-to-date
|
||||
run: |
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
if ! git diff --exit-code dist/ || [ -n "$(git status --porcelain dist/)" ]; then
|
||||
echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes."
|
||||
git status --short
|
||||
git status --short dist/
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue