chore(ci): run versioning only on Gitea, CI on Gitea and GitHub

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
dasemuandClaude Sonnet 5.5 committed 2026-10-18 21:37:49 +02:00
1 parent bf38fc3314
commit a747b9f161
3 files changed
+43 -3

No files matched your search

+38
View File
@@ -0,0 +1,38 @@
name: CI
on:
pull_request:
branches: [development]
push:
branches: [development, main]
jobs:
backend:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- run: pip install -r requirements.txt
# No linter or test suite is configured for the backend yet.
# This is a lightweight sanity check (syntax/import compile), not a test run.
- run: python -m compileall backend -q
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: frontend/package-lock.json
- run: npm ci
# `npm run lint` has no ESLint config checked in yet, so it is not run here.
# `build` runs `vue-tsc` first, which is the available type-check.
- run: npm run build