From 285543500c44a5d54d7cbdab115cbba1840e12da Mon Sep 17 00:00:00 2001 From: continuist Date: Sat, 25 Oct 2025 18:37:57 -0400 Subject: [PATCH] Add WASM module build step to CI stage for build-frontend --- .forgejo/workflows/ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 3905fac..dfcec98 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -208,6 +208,15 @@ jobs: echo "=== Inode info ===" df -i /home/ci-service /tmp /var/tmp 2>/dev/null || df -i /tmp /var/tmp + - name: Install wasm-pack + run: | + which wasm-pack || cargo install wasm-pack + + - name: Build WASM module + run: | + cd frontend/wasm + wasm-pack build --target web + - name: Build frontend container image run: | # Create temp directory on larger filesystem