ci: fix broken workflow YAML, add unit tests, make CI a required check #44
No reviewers
Labels
No labels
blocked:gate-fetch
blocked:gate-implement
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:needs-local-checkout
blocked:no-changes
bug
feature-request
in-progress
needs-decompose
needs-triage
ops-task
quickfix
security/high
security/low
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/nodedesk!44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/required-checks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fixes the CI pipeline on Mark/nodedesk so merge is blocked when any test fails.
What was broken
.forgejo/workflows/ci.ymlwas invalid YAML: theType checkstep was indented at column 0 (line 40), so every Actions run failed at parse time (Failing after 0s). Hundreds of runs in history show this.Changes
qualityjob.Unit testsstep runsnpm run test:unit(vitest). This covers unit + integration tests (*.integration.test.tsself-skip without S3 env). Previously only lint + build + e2e ran; the card requires unit, integration, and lint all gating.npm ciis used (repo haspackage-lock.json; no pnpm lockfile exists, sopnpm install --frozen-lockfiledoes not apply.npm ciis the frozen-lockfile equivalent).Required checks (wired via branch protection on
main)After this PR is green, branch protection will require:
CI / quality (pull_request)CI / e2e (pull_request)Verification
Superseded by PR #45 (ci/quality-gates-matrix). That PR contains this YAML fix plus the full matrix quality-gate workflow: separate lint/typecheck/unit/build jobs, Node 20+22 matrix, npm caching, junit.xml + build artifacts, and the e2e job split into its own workflow file. Closing this one to keep the open-PR state clean.
Pull request closed