Forgejo Actions PR pipeline (build / test / lint / typecheck) #13

Closed
opened 2026-06-12 20:27:41 +00:00 by james · 0 comments
Owner

Scope

  • Workflow triggered on PRs targeting main.
  • Jobs: install, lint, typecheck, build, test.
  • The test job is a DB matrix: SQLite (in-process) and Postgres (service container). Both must actually be exercised.
  • node_modules cache to keep run times reasonable.

Acceptance criteria

  • A failing test fails the PR check (verify with a deliberately broken test in a throwaway branch).
  • Both DB engines show up in job logs running real DB-touching tests.
  • A green PR run is reproducible from a fresh clone with npm ci && npm run build && npm test.

Part of epic #2. Depends on #7, #8.

## Scope - Workflow triggered on PRs targeting `main`. - Jobs: `install`, `lint`, `typecheck`, `build`, `test`. - The `test` job is a DB matrix: SQLite (in-process) and Postgres (service container). Both must actually be exercised. - `node_modules` cache to keep run times reasonable. ## Acceptance criteria - [ ] A failing test fails the PR check (verify with a deliberately broken test in a throwaway branch). - [ ] Both DB engines show up in job logs running real DB-touching tests. - [ ] A green PR run is reproducible from a fresh clone with `npm ci && npm run build && npm test`. Part of epic #2. Depends on #7, #8.
james closed this issue 2026-06-13 12:52:30 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
james/carol#13
No description provided.