From 9e284c7e616f48da80db5d4d9046a789eb85a210 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 19 Sep 2026 13:58:07 +0000 Subject: [PATCH] Verify wasm target in Nix CI Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com> --- .github/workflows/ci.yml | 2 ++ .github/workflows/pages.yml | 3 +++ .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6691745ae..56d40d276 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/setup-nix + - name: Verify wasm target + run: nix develop --command rustc --print target-libdir --target wasm32-unknown-unknown > /dev/null - name: Build web bundle run: nix develop --command trunk build --locked --release --public-url /app/ --dist dist/app --html-output index.html web-app.html - name: Validate website assembly diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 3b1835c76..3ec0c62b6 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -89,6 +89,9 @@ jobs: ) nix develop --command bash --noprofile --norc -euo pipefail -c "$SCRIPT" + - name: Verify wasm target + run: nix develop --command rustc --print target-libdir --target wasm32-unknown-unknown > /dev/null + - name: Build web bundle run: nix develop --command trunk build --locked --release --public-url /app/ --dist dist/app --html-output index.html web-app.html diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c1ae5f005..1ac0b5639 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -196,7 +196,7 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} SNAP: ${{ steps.snap_asset.outputs.snap }} - run: nix develop --command gh release upload "${{ env.RELEASE_TAG }}" "$SNAP" --clobber + run: nix develop --command gh release upload "${{ env.RELEASE_TAG }}" "$SNAP" --clobber --repo ${{ github.repository }} - name: Upload snap as workflow artifact if: env.RELEASE_TAG == ''