Skip to content

fix(ci): add web-build job to CI — prevent broken frontend merges#270

Merged
ajianaz merged 1 commit into
developfrom
fix/ci-frontend-build-check
Jun 27, 2026
Merged

fix(ci): add web-build job to CI — prevent broken frontend merges#270
ajianaz merged 1 commit into
developfrom
fix/ci-frontend-build-check

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Problem

CI ci.yml never built the frontend (web/). Vite build only ran in release.yml, so syntax errors like the missing brace in TransactionDetailResponse (discovered during v0.2.0 release) slipped through 5 consecutive PRs undetected.

Fix

  • Add web-build job to ci.yml: Node 22 + npm ci + npm run build
  • Matches the same build approach used in release.yml
  • Added Web Build to branch protection required status checks

CI Impact

+1 job (~30s) per CI run. Total: 7 required checks + Trivy/npm-audit (non-blocking).

Before: Check, Format, Clippy, Test, Build (release), Cora Review
After:  Check, Format, Clippy, Test, Build (release), Web Build, Cora Review

Frontend (web/) was never built in CI. The vite build only ran in
release.yml, so syntax errors like the missing brace in
TransactionDetailResponse (v0.2.0) slipped through 5 consecutive PRs.

Add Web Build job: Node 22 + npm ci + npm run build in web/ directory.
Also added to branch protection required status checks.
@ajianaz ajianaz merged commit a0bb33a into develop Jun 27, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant