Skip to content

Add Frontend CI Lint Step and Test Script Stub #13

Description

@aji70

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

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions