From a6f1f345258fcd448a27fa2071b3c12af79c0aec Mon Sep 17 00:00:00 2001 From: Jo D Date: Thu, 4 Jun 2026 08:59:21 -0400 Subject: [PATCH] ci: add webapp build job to validate frontend on PRs The webapp/ workspace was never built, typechecked, or tested in CI. Frontend-only dependency bumps (e.g. lucide-react via dependabot) passed all checks without anything compiling the code that consumes them. Add a Node-only webapp-build job: generate + build the TS client, then run tsc -b and vite build for webapp. No Rust/Solana toolchain needed since generate-clients reads the committed IDL. --- .github/workflows/build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 600f98f..0b12128 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,3 +32,26 @@ jobs: - name: Build program and clients run: just build + + webapp-build: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 1 + + - uses: ./.github/actions/setup + with: + install-rust: 'false' + install-solana: 'false' + install-just: 'false' + enable-rust-cache: 'false' + + - name: Generate and build TypeScript client + run: | + pnpm run generate-clients + pnpm --filter @solana/subscriptions build + + - name: Build webapp + run: pnpm --filter webapp build