Check only dist folder

This commit is contained in:
antoine.vinot
2026-04-21 16:56:12 +02:00
parent a100e88166
commit d3bd05bd6e
+2 -2
View File
@@ -32,9 +32,9 @@ jobs:
- name: Check dist/ is up-to-date - name: Check dist/ is up-to-date
run: | 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." echo "::error::dist/ is out of date. Run 'npm run build' and commit the changes."
git status --short git status --short dist/
exit 1 exit 1
fi fi