Skip to content

ci: merge unit-tests into lint-typecheck job#160

Open
jakebromberg wants to merge 1 commit intoci/skip-redundant-buildfrom
ci/merge-unit-tests-job
Open

ci: merge unit-tests into lint-typecheck job#160
jakebromberg wants to merge 1 commit intoci/skip-redundant-buildfrom
ci/merge-unit-tests-job

Conversation

@jakebromberg
Copy link
Member

Summary

  • Merge the standalone unit-tests job into lint-and-typecheck, renamed to lint-typecheck-and-unit-tests
  • Eliminates a separate runner spin-up that duplicated checkout, Node setup, cache restore, and npm ci for just ~4 seconds of test execution
  • Unit test step runs after build (which it needs), reusing the same environment
  • Coverage artifact upload moves into the combined job
  • Integration-Tests job dependency updated to reference the renamed job

Estimated savings

~30 seconds per CI run (one fewer runner spin-up)

Test plan

  • Lint, typecheck, unit tests, and coverage upload all appear in the combined job
  • Integration-Tests still runs after the combined job passes
  • --changedSince flag still works correctly for PRs
  • workflow_dispatch runs the full unit test suite

The standalone unit-tests job duplicated runner setup (checkout, Node,
cache, npm ci) for just 4 seconds of test execution. Merge it into the
lint-and-typecheck job which already has all dependencies installed and
built. This eliminates one runner spin-up (~30s) per CI run.
@jakebromberg jakebromberg force-pushed the ci/merge-unit-tests-job branch from f94926f to 297b192 Compare February 14, 2026 18:10
@jakebromberg jakebromberg force-pushed the ci/skip-redundant-build branch from ad7d257 to b7d973a Compare February 14, 2026 18:10
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