-
Notifications
You must be signed in to change notification settings - Fork 140
Open
Description
Description
Hi maintainers! 👋
I would like to contribute by adding an initial backend test setup and GitHub Actions CI pipeline.
Proposed Work
-
Introduce test framework (Vitest or Jest) in
apps/api- Configure test environment
- Add
pnpm testscript - Provide a minimal folder structure:
/apps/api/tests
-
Add first unit tests
- Target
services/project.service.ts - Specifically test:
- GitHub query generation
- Filter params (languages, stars, forks)
- Handling GitHub API errors / edge cases
- Target
-
Add GitHub Actions workflow
- Install dependencies (pnpm)
- Run ESLint
- Run TypeScript type check
- Run the new test suite
-
Documentation
- Update CONTRIBUTING.md with testing + CI instructions
Why this is useful
- The repo currently has no test suite or CI checks.
- Adding both increases reliability and safety for future PRs.
- Tests for GitHub project fetching ensure backend correctness.
Please let me know if I can proceed and whether you prefer Jest or Vitest.
Happy to adjust the plan! 🚀
Context
No response
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels