Add typecheck, lint, and CI pipeline #2
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
PCivil/folletos-digitales#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The repo defines no lint or test scripts;
npm run buildis the only health check (per README).Proposed:
astro checkas atypecheckscript (Astro/TS type validation).lintscript.forgejo-runner. Pull requests live on this Forgejo instance, not on GitHub (see ADR-0001); the GitHub remote is a backup mirror only, so GitHub Actions is not the target. CI should run typecheck + build.Acceptance:
npm run typecheckandnpm run lintexist and pass; CI runs them +npm run buildon every PR.Also include a docs-drift check (from the PR #6 review): a script that compares the route counts in
docs/routes.mdagainst thegetStaticPathsoutput and fails CI on mismatch, so the inventory can't silently drift fromsrc/.