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
This commit is contained in:
1 parent
f1244f615f
commit
e6356f8fac
2 files changed
+203
-42
No files matched your search
@@ -0,0 +1,51 @@
|
||||
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"
|
||||
Reference in new issue
Block a user