Add browser-local Piper WebAssembly speech
Build and publish frontend / publish (push) Failing after 6s

This commit is contained in:
Ein Anderssono
2026-10-16 06:47:59 +02:00
parent 474fd80a95
commit aed6b15a20
14 changed files with 332 additions and 22 deletions
+12 -1
View File
@@ -29,6 +29,17 @@ jobs:
python3 scripts/bump-version.py --check
scripts/check-frontend.sh
- name: Build Piper WebAssembly assets
shell: bash
run: |
set -euo pipefail
npm install --no-audit --no-fund
npm run build:piper
test -s public/tts/piper-wasm-v1/piper/piper_phonemize.wasm
test -s public/tts/piper-wasm-v1/piper/piper_phonemize.data
test -s public/tts/piper-wasm-v1/piper-worker.js
test -s public/piper-runtime.js
- name: Ensure Helm is available
shell: bash
env:
@@ -89,7 +100,7 @@ jobs:
version="$(python3 scripts/bump-version.py)"
git config user.name "Gitea Actions"
git config user.email "actions@users.noreply.gitea"
git add VERSION deploy/helm/ai-spel-frontend/Chart.yaml
git add VERSION deploy/helm/ai-spel-frontend/Chart.yaml package-lock.json
git commit -m "Release $version [auto-version-bump]"
git tag -a "v$version" -m "v$version"
git push origin HEAD:main "refs/tags/v$version"