From 96078790aed6ab5e71ac7c5c122669ecb675382c Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 22 Aug 2025 15:32:50 -0400 Subject: [PATCH] Test and build --- .gitea/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 746a74a..dc0527b 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -45,3 +45,33 @@ jobs: # Install app dependencies - name: Install app dependencies run: npm install + + # Test wasm library + - name: Test wasm library + run: | + npm run test:wasm + npm run test:wasmdoc + + # Build wasm library + - name: Build wasm library + run: | + npm run build:wasm + + # Test application + - name: Test application + run: | + npm test + npx cypress run --component + + # Build application + - name: Build application + run: | + npm run build + + # Upload artifact + - name: Upload build artifact (for debugging) + uses: actions/upload-artifact@v3 + with: + name: dist + path: dist/ + retention-days: 5