Problem statement
The repository has no GitHub Actions workflow or commit-status checks validating pull requests and pushes to main. Regressions can therefore be merged without automated lint, build, backend guardrail, or test feedback.
Current state and evidence
Risk / impact
- Broken builds and configuration drift can reach
main.
- Contributors receive no automated validation before review.
- Branch protection cannot require a stable CI check.
- Existing backend guardrail scripts are not exercised automatically.
Proposed workflow
Add .github/workflows/ci.yml with:
- Triggers:
pull_request and push to main.
- Minimal permissions:
contents: read.
- Concurrency keyed by workflow/ref with
cancel-in-progress: true.
- A pinned supported Node version (or a small supported matrix).
- Reproducible installs using the committed npm lockfiles.
- Separate or clearly named steps for:
- Root dependency installation.
- Frontend lint.
- Frontend production build.
- Backend dependency installation.
- Backend
openrouter:runtime-check.
- Backend
openrouter:config-check.
- Automated tests once available.
- No production secrets for pull-request checks.
- Optional npm caching keyed by lockfiles.
Implementation notes
Acceptance criteria
Verification checklist
Problem statement
The repository has no GitHub Actions workflow or commit-status checks validating pull requests and pushes to
main. Regressions can therefore be merged without automated lint, build, backend guardrail, or test feedback.Current state and evidence
VickyKumarOfficial/Arcade-Learnmaincommit:1711c296f1446fa4d619e651c0ce735c996c1fcdRisk / impact
main.Proposed workflow
Add
.github/workflows/ci.ymlwith:pull_requestandpushtomain.contents: read.cancel-in-progress: true.openrouter:runtime-check.openrouter:config-check.Implementation notes
Acceptance criteria
main.Verification checklist