Improve CI

This commit is contained in:
Andras Schmelczer 2025-03-22 14:41:20 +00:00
parent 792097060b
commit 84566c1b55
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 26 additions and 20 deletions

View file

@ -39,7 +39,17 @@ jobs:
run: |
cd backend
RUST_BACKTRACE=1 cargo run -p sync_server &
cd ../frontend
cd ..
scripts/update-api-types.sh
cd frontend
npm ci
npm run lint
if [[ $(git status --porcelain) ]]; then
git status --porcelain
echo "Failing CI because the working directory is not clean after updating the API types"
exit 1
fi
cd ..
scripts/e2e.sh 32