Add Gemma license gate and publish local model assets
Build and publish static assets / publish (push) Failing after 2s

This commit is contained in:
Ein Anderssono
2026-10-19 12:02:45 +02:00
parent 440652214c
commit 73c0c0b8ba
16 changed files with 699 additions and 7 deletions
+12
View File
@@ -12,5 +12,17 @@ grep -q 'application/wasm wasm;' nginx/default.conf
grep -Fq 'try_files $uri =404;' nginx/default.conf
grep -q 'version.json' Dockerfile
grep -q 'location = /static/version.json' nginx/default.conf
grep -q 'location = /static/wllama-gemma3-v1/manifest.json' nginx/default.conf
grep -q 'location = /static/wllama-gemma3-v1/local-ai.js' nginx/default.conf
grep -q 'Cache-Control "no-cache"' nginx/default.conf
grep -q 'text/html html;' nginx/default.conf
grep -q 'application/octet-stream onnx data gguf;' nginx/default.conf
grep -q "client', 'local-ai.js" scripts/build-assets.mjs
grep -q 'wllama-gemma3-v1' scripts/build-assets.mjs
grep -q 'test -s public/static/wllama-gemma3-v1/local-ai.js' .gitea/workflows/publish.yaml
grep -q 'lokal ai godkänn villkor' client/local-ai.js
grep -q 'acceptance_id' scripts/build-assets.mjs
grep -q 'GEMMA_TERMS.html' .gitea/workflows/publish.yaml
grep -q 'GEMMA_USER_TERMS.html' .gitea/workflows/publish.yaml
node --test tests/*.test.cjs
echo 'Static asset source checks passed.'