Files
Mind-o-Mat/.gitea/workflows/ci.yml
T
Jannik e6356f8fac
CI / test (push) Canceled after 0s
CI / webapp (push) Canceled after 0s
v2.0.1: CI-Workflow + README mit Architektur-Diagramm
- .gitea/workflows/ci.yml: gitea-Actions-Workflow
  - Job 1 (test): npm ci + build + test auf Node 22
  - Job 2 (webapp): webapp-Build + Artifact-Verifikation
  - Trigger: push + pull_request auf main
- README.md komplett neu strukturiert:
  - Architektur-Diagramm (ASCII) mit allen 5 Bausteinen
  - 5-Bausteine-Tabelle mit Spalte 'Wo' (Tool/Vault/QMD)
  - Installations-Anleitung (Tool, Vault, QMD, Webapp)
  - Beispiel-Session end-to-end
  - Erweiterte CLI-Referenz mit allen Optionen
  - Test-Anleitung
2026-09-05 12:11:37 +02:00

52 lines
965 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Tests
run: npm test
webapp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
- name: Install webapp dependencies
run: |
cd webapp
npm ci
npm run build
- name: Verify artifacts
run: |
test -f webapp/dist/index.html
test -f webapp/dist/manifest.webmanifest
echo "Webapp build artifacts present"