Description:
Add a CI pipeline that runs on every push and pull request to main, so regressions and style/type issues are caught automatically. The workflow installs dependencies, type-checks, lints, and runs the Playwright suite, uploading the HTML report as an artifact.
Tasks
- Add
.github/workflows/ci.yml triggered on push and pull_request to main.
- Cache npm dependencies and install Playwright browsers.
- Run steps:
typecheck, lint, format:check, test.
- Provide secrets/credentials via GitHub Actions secrets (no committed
.env).
- Upload the Playwright HTML report (and traces on failure) as workflow artifacts.
- Add a status badge to
README.md.
Acceptance criteria
Description:
Add a CI pipeline that runs on every push and pull request to
main, so regressions and style/type issues are caught automatically. The workflow installs dependencies, type-checks, lints, and runs the Playwright suite, uploading the HTML report as an artifact.Tasks
.github/workflows/ci.ymltriggered onpushandpull_requesttomain.typecheck,lint,format:check,test..env).README.md.Acceptance criteria
mainand blocks merge on failure.