mitai-jinkendo/.gitea/workflows/test.yml
Lars Stommer 89b6c0b072
Some checks are pending
Deploy to Raspberry Pi / deploy (push) Waiting to run
Build Test / build-frontend (push) Waiting to run
Build Test / lint-backend (push) Waiting to run
feat: initial commit – Mitai Jinkendo v9a
2026-03-16 13:35:11 +01:00

34 lines
754 B
YAML

name: Build Test
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
build-frontend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install & Build
working-directory: ./frontend
run: |
npm install
npm run build
- name: Check build output
run: ls -la frontend/dist/
lint-backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Check syntax
run: python3 -m py_compile backend/main.py && echo "✓ Backend syntax OK"