ci: Add GitHub Actions workflow gating PRs on typecheck + tests - #23
Merged
Merged
Conversation
added 2 commits
June 29, 2026 16:09
- Checkout with submodules (pi-fork is a linked dep) - Build pi-fork type declarations (tsgo via npm run build) - pnpm install --frozen-lockfile for workspace - tsc --noEmit across harness, k8s-sandbox, knative-server, experiments - pnpm -r test for all workspace packages - Cache pnpm store and pi-fork node_modules - Fix stale @ts-expect-error in k8s-sandbox test Closes #20 Signed-off-by: Paolo Dettori <paolo.dettori@example.com>
Signed-off-by: Paolo Dettori <paolo.dettori@example.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/ci.ymlthat runs onpull_requestandpushtomaintsc --noEmit(typecheck) across all workspace packages with tsconfigspnpm -r test(unit tests across all workspace packages)@earendil-works/*deps)@ts-expect-errorinpackages/k8s-sandbox/test/m3-live-smoke.test.tsCI Steps
submodules: recursivecd pi-fork && npm ci && npm run build(produces.d.tsfiles for linked deps)pnpm install --frozen-lockfiletsc --noEmitin harness, k8s-sandbox, knative-server, experimentspnpm -r testNotes
dist/is gitignored — CI must build it for type declarationswork-queueandsession-backendpackages have no tsconfig yet; they're type-checked transitively via harness importsCloses #20
Assisted-By: Claude Code