ELUSoC_2026 — Add CI lint and build validation workflow for all workspaces
Problem
The Gamify repository currently has a deploy.yml workflow that only runs on pushes to main to deploy to Cloudflare. There is no CI workflow that validates code quality (linting) or build correctness on pull requests or feature branches.
Current Behavior
- Pull requests merge without any automated lint or build checks.
- A broken client build or lint error can silently land on
mainand break the deployment pipeline. - Contributors have no automated feedback on code quality before a maintainer reviews their PR.
Why This Improvement Is Needed
- Catches regressions early — broken builds are flagged before they reach reviewers.
- Enforces the ESLint rules already configured in
client/eslint.config.js. - Improves contributor experience: authors receive instant CI feedback on their branches.
- Follows open-source best practices for monorepo projects.
Proposed Solution
Add a new .github/workflows/ci.yml workflow that:
- Runs on every
push(all branches) and every PR targetingmain. - Installs dependencies and runs
npm run lintfor the client workspace. - Runs
npm run buildfor the client to catch Vite build failures. - Runs
npm run lint --if-presentfor server and bot workspaces. - Uses
actions/setup-node@v4with npm caching per workspace.
Expected Outcome
- Every PR receives automated lint and build status checks.
- Maintainers can require the CI job to pass before merging.
- Contributors see immediate feedback on their branches.
Additional Notes
- The workflow uses
npm ci(notnpm install) for reproducible installs. - Each workspace (client, server, bot) runs as an independent parallel job.
- No secrets are required for lint/build — the workflow is safe for fork PRs.
Thank you for raising this issue!
We'll review it as soon as possible. We truly appreciate your contributions! ✨
Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊
Hi, I'd like to work on this issue. I'll add a .github/workflows/ci.yml that runs lint and build for the client workspace and lint for server/bot on every push and PR, as outlined above. Could you please assign it to me?
/assign /claim
Hi,could you assign this issue to me?