From b45f8671043f0bc8b8112d2be2ac37c02cf2514c Mon Sep 17 00:00:00 2001 From: Jo D Date: Thu, 4 Jun 2026 09:45:11 -0400 Subject: [PATCH 1/2] ci: add web build job to validate frontend on PRs The apps/web workspace was never built or typechecked in CI, so frontend-only changes could break the production build with nothing catching it. Add a Node-only web-build job: pnpm install, then build apps/web. Its prebuild hook generates and builds the TS client from the committed IDL, so no Rust/Solana toolchain is required. --- .github/workflows/web.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/web.yml diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml new file mode 100644 index 0000000..d2798b3 --- /dev/null +++ b/.github/workflows/web.yml @@ -0,0 +1,20 @@ +name: Web + +on: + push: + branches: [main] + pull_request: + +jobs: + web-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: pnpm/action-setup@v6 + - uses: actions/setup-node@v6 + with: + node-version-file: '.nvmrc' + cache: 'pnpm' + - run: pnpm install + - name: Build web app + run: pnpm --filter @solana/escrow-program-web build From 134f479fe911ddce89202bf1371845090927f2a5 Mon Sep 17 00:00:00 2001 From: jo <17280917+dev-jodee@users.noreply.github.com> Date: Thu, 4 Jun 2026 09:50:34 -0400 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .github/workflows/web.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index d2798b3..d5dc352 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -4,6 +4,11 @@ on: push: branches: [main] pull_request: + paths: + - 'apps/web/**' + - 'pnpm-lock.yaml' + - '.nvmrc' + - '.github/workflows/web.yml' jobs: web-build: