Skip to content

ci: add Vite build workflow + build badge - #6

Merged
zelinewang merged 1 commit into
mainfrom
chore/ci-and-release-prep
Jul 13, 2026
Merged

ci: add Vite build workflow + build badge#6
zelinewang merged 1 commit into
mainfrom
chore/ci-and-release-prep

Conversation

@zelinewang

Copy link
Copy Markdown
Owner

What

Adds .github/workflows/build.yml and a Build status badge to the README top.

Why

CI was security-only (CodeQL + gitleaks) — nothing verified the app actually compiles. This adds a build check so a broken build is caught on push/PR.

What the workflow does (push + PR to main)

  • actions/setup-node@v4 (node 20, npm cache)
  • npm ci
  • npm run build (vite build)

Verified locally before opening

  • npm ci: 418 packages, exit 0 (package-lock.json in sync)
  • npm run build: vite build succeeds, dist/ produced, exit 0

permissions: contents: read. Complements — does not replace — the existing Security Scan workflow.

Adds a build workflow that runs npm ci && npm run build on push and PR (verified locally: 418 packages, vite build succeeds). Complements the existing security-scan workflow with an actual compile check. Adds the Build status badge to the README top.
@zelinewang
zelinewang merged commit 92caf55 into main Jul 13, 2026
6 checks passed
@zelinewang
zelinewang deleted the chore/ci-and-release-prep branch July 13, 2026 22:57
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