Skip to content

ci: run lint and typecheck, and trigger on pushes to master - #217

Merged
dantio merged 1 commit into
masterfrom
ci/lint-typecheck-and-push-trigger
Jul 30, 2026
Merged

ci: run lint and typecheck, and trigger on pushes to master#217
dantio merged 1 commit into
masterfrom
ci/lint-typecheck-and-push-trigger

Conversation

@dantio

@dantio dantio commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

The Test workflow only ran npm test, and only on pull requests.

  • npm run lint — lint had no CI protection at all, so the eslint fixes in beb7e46 could regress unnoticed.
  • npm run typecheck — nothing type-checked test/ or examples/. That is how an extensionless import survived in examples/traditional/clientAlerts.GetPublicAlerts.ts until it was found by hand during the v10 review; tsconfig.check.json covers src, test and examples.
  • push trigger on master — merges and any direct pushes are now verified, not just PRs.

The push filter is scoped to master, so PR branches still fire only the pull_request event and nothing runs twice.

Test plan

  • npm run lint clean on master
  • npm run typecheck clean on master
  • npm test — 1371 passing
  • pull_request run green on this PR
  • push run green after merge

🤖 Generated with Claude Code

The workflow only ran `npm test`, and only on pull requests. Lint had no
CI protection at all, and nothing type-checked test/ or examples/ — which
is how an extensionless import survived in
examples/traditional/clientAlerts.GetPublicAlerts.ts until it was caught
by hand during the v10 review.

Adds the lint and typecheck steps, and a push trigger scoped to master so
merges and any direct pushes are verified too. The push filter is limited
to master, so PR branches still fire only the pull_request event and
nothing runs twice.
@dantio
dantio merged commit 060c9c3 into master Jul 30, 2026
1 check passed
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.

2 participants