Skip to content

ci: check typegen output for drift in CI - #205

Merged
Erlend Ellefsen (erlendellefsen) merged 1 commit into
mainfrom
ci/typegen-drift-check
Aug 25, 2026
Merged

ci: check typegen output for drift in CI#205
Erlend Ellefsen (erlendellefsen) merged 1 commit into
mainfrom
ci/typegen-drift-check

Conversation

@erlendellefsen

Copy link
Copy Markdown
Collaborator

Summary

  • Wires the existing just typegen --check drift detection into build-and-test, so a stale api-types.gen.ts fails CI.
  • Adds JsonApiToolkit.TypeGen/** and JsonApiToolkit.TypeGen.Tests/** to the path filter, so the job runs when only the typegen tool changes.

Test plan

  • Ran just typegen --check locally: passes, no drift.

Wires the existing typegen --check drift detection into build-and-test,
so a stale api-types.gen.ts fails CI instead of going unnoticed. Also
adds JsonApiToolkit.TypeGen paths to the change filter so the job runs
when only the typegen tool changes.
@erlendellefsen
Erlend Ellefsen (erlendellefsen) merged commit 309e7eb into main Aug 25, 2026
14 checks passed
@erlendellefsen
Erlend Ellefsen (erlendellefsen) deleted the ci/typegen-drift-check branch August 25, 2026 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant