Skip to content

ci: add frontend build and lint gating#448

Merged
PrincessnJoy merged 2 commits into
PrincessnJoy:mainfrom
unixfundz:feat/312-frontend-ci
Jun 26, 2026
Merged

ci: add frontend build and lint gating#448
PrincessnJoy merged 2 commits into
PrincessnJoy:mainfrom
unixfundz:feat/312-frontend-ci

Conversation

@unixfundz

Copy link
Copy Markdown
Contributor

Closes #312

Changes

.github/workflows/ci.yml

  • Added frontend job that:
    • Sets up Node 20 with npm cache
    • Runs npm ci to install dependencies
    • Runs npm run lint (ESLint — fails on any warning via --max-warnings 0)
    • Runs npm run build (TypeScript compile + Vite bundle)
  • Added frontend to the needs list of the build (WASM) job — a failed frontend check now blocks the build gate and prevents merging

Effect

PRs with frontend lint errors or build failures will fail CI and cannot be merged.

@PrincessnJoy PrincessnJoy merged commit 65278bd into PrincessnJoy:main Jun 26, 2026
1 of 3 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.

Add CI gating for frontend build and lint

2 participants