/** * PR Check - Build validation for pull requests * * Runs server (Docker), client (pnpm build), and mobile (EAS) builds. * Used when PR opens to main - validates code builds before merge. * * Per STANDARDS: Build logic lives here, not in workflows. * Workflow SSHs to staging and runs: GITHUB_ACTIONS=true npx stack pr-check --staging */ import type { FactiiiConfig } from '../../../types/index.js'; export interface BuildResult { name: string; success: boolean; output: string; duration: number; } export interface PRCheckResult { success: boolean; results: BuildResult[]; sha: string; prNumber: number | null; } /** * Run all builds (server, client, mobile) on the current machine. * Call this when GITHUB_ACTIONS=true or FACTIII_ON_SERVER=true (running on staging server). * * @param rootDir - Repo root (e.g. ~/.factiii/repo-name on server) * @param config - stack.yml config * @param options - commit, branch for git checkout */ export declare function runBuilds(rootDir: string, config: FactiiiConfig, options?: { commit?: string; branch?: string; }): Promise; //# sourceMappingURL=pr-check.d.ts.map