Task: Add Frontend CI Lint Step and Test Script Stub
Overview
The existing GitHub Actions workflow runs npm run build only. Add linting to CI and a test script placeholder so contributors catch issues early and the project is ready for Vitest/Playwright later.
Goals
- Add
npm run lint step to .github/workflows/frontend-ci.yml
- Add
npm run test script (passes with --passWithNoTests or a single smoke test)
- Optionally add TypeScript check:
tsc --noEmit
- Fail CI on lint errors; document how to fix locally
Deliverables
- Updated
frontend-ci.yml with lint (and optional typecheck) jobs
package.json scripts: "test": "..."
- Optional: one smoke test proving CI test step runs
- README badge or CI section noting required checks
Acceptance Criteria
- PRs fail when ESLint errors are introduced
npm run lint and npm run build both pass on main
- CI completes in under 5 minutes on a typical PR
- Contributors see clear CI failure messages
- No secrets required in the workflow file
Task: Add Frontend CI Lint Step and Test Script Stub
Overview
The existing GitHub Actions workflow runs
npm run buildonly. Add linting to CI and a test script placeholder so contributors catch issues early and the project is ready for Vitest/Playwright later.Goals
npm run lintstep to.github/workflows/frontend-ci.ymlnpm run testscript (passes with--passWithNoTestsor a single smoke test)tsc --noEmitDeliverables
frontend-ci.ymlwith lint (and optional typecheck) jobspackage.jsonscripts:"test": "..."Acceptance Criteria
npm run lintandnpm run buildboth pass on main