mitai-jinkendo/.gitea/workflows/test.yml
Lars Stommer 1d169b1228
All checks were successful
Deploy Development / deploy (push) Successful in 56s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 1m15s
ci: fix test workflow - use local Node.js
2026-03-17 12:58:56 +01:00

25 lines
522 B
YAML

name: Build Test
on:
push:
branches: [main, develop]
jobs:
lint-backend:
runs-on: ubuntu-latest
steps:
- name: Check backend syntax
run: |
python3 -m py_compile /home/lars/docker/bodytrack/backend/main.py
echo "✓ Backend syntax OK"
build-frontend:
runs-on: ubuntu-latest
steps:
- name: Build frontend
run: |
cd /home/lars/docker/bodytrack/frontend
npm install
npm run build
echo "✓ Frontend build OK"