Check node version

This commit is contained in:
Andras Schmelczer 2025-12-14 13:53:35 +00:00
parent c7507a3e7a
commit e25306c4c1
5 changed files with 20 additions and 12 deletions

View file

@ -8,8 +8,15 @@ if [[ "$1" == "--fix" ]]; then
echo "Running in fix mode - will automatically fix linting and formatting issues"
fi
./scripts/utils/check-node.sh
echo "Running checks in sync-server"
cd sync-server
which sqlx || cargo install sqlx-cli
sqlx database create --database-url sqlite://db.sqlite3
sqlx migrate run --source src/app_state/database/migrations --database-url sqlite://db.sqlite3
cargo test --verbose
if [[ "$FIX_MODE" == true ]]; then