Problem
After the CI restructuring in #36, the typecheck job runs before build. Cross-package type dependencies (e.g. channel-feishu depends on @openlinkos/channel) require compiled type declarations, which are not yet available at typecheck time.
Error
channels/channel-feishu typecheck: src/index.ts(1,40): error TS2307: Cannot find module '@openlinkos/channel' or its corresponding type declarations.
Root Cause
Old CI ran build → typecheck → test sequentially in one job. New CI separates them into typecheck → build → test, which breaks inter-package type resolution in the monorepo.
Acceptance Criteria
Notes
The fix should balance fast-fail benefit vs. monorepo type dependency constraints. Multiple approaches are valid — choose the most appropriate one.
Problem
After the CI restructuring in #36, the
typecheckjob runs beforebuild. Cross-package type dependencies (e.g.channel-feishudepends on@openlinkos/channel) require compiled type declarations, which are not yet available at typecheck time.Error
Root Cause
Old CI ran
build → typecheck → testsequentially in one job. New CI separates them intotypecheck → build → test, which breaks inter-package type resolution in the monorepo.Acceptance Criteria
pnpm typecheckpasses in CI without pre-build errorsNotes
The fix should balance fast-fail benefit vs. monorepo type dependency constraints. Multiple approaches are valid — choose the most appropriate one.