You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2026. It is now read-only.
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 main and 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 targeting main.
Installs dependencies and runs npm run lint for the client workspace.
Runs npm run build for the client to catch Vite build failures.
Runs npm run lint --if-present for server and bot workspaces.
Uses actions/setup-node@v4 with 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 (not npm 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.
Problem
The Gamify repository currently has a
deploy.ymlworkflow that only runs on pushes tomainto deploy to Cloudflare. There is no CI workflow that validates code quality (linting) or build correctness on pull requests or feature branches.Current Behavior
mainand break the deployment pipeline.Why This Improvement Is Needed
client/eslint.config.js.Proposed Solution
Add a new
.github/workflows/ci.ymlworkflow that:push(all branches) and every PR targetingmain.npm run lintfor the client workspace.npm run buildfor the client to catch Vite build failures.npm run lint --if-presentfor server and bot workspaces.actions/setup-node@v4with npm caching per workspace.Expected Outcome
Additional Notes
npm ci(notnpm install) for reproducible installs.