Compare commits

..

2 Commits

Author SHA1 Message Date
antoine.vinot d3bd05bd6e Check only dist folder 2026-04-21 17:12:48 +02:00
Jarek Potiuk a100e88166 Add build and dist/ freshness check to CI 2026-04-21 16:17:20 +02:00
+11
View File
@@ -27,5 +27,16 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Check dist/ is up-to-date
run: |
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 dist/
exit 1
fi
- name: Run tests
run: npm test