diff --git a/.github/workflows/selfhost.yml b/.github/workflows/selfhost.yml index 68a07f3c7..f8ff53ee7 100644 --- a/.github/workflows/selfhost.yml +++ b/.github/workflows/selfhost.yml @@ -74,6 +74,15 @@ jobs: - name: Install deps run: npm ci --ignore-scripts + # Same #ci-engine-build-order fix as ci.yml (see its "Build engine package" step): the Postgres + # integration test's import graph now reaches @jsonbored/gittensory-engine transitively (#5117 moved + # local-write action specs there; src/mcp/local-write-tools.ts re-exports them). That package's + # dist/ is gitignored and only exists after this build step, so the test fails to resolve the + # package's exports without it -- this workflow never needed the engine package built before, so it + # never had this step; it does now. + - name: Build engine package + run: npm run build --workspace @jsonbored/gittensory-engine + - name: Postgres integration test (real PG) run: PG_TEST_URL=postgres://postgres:devpw@localhost:5432/gittensory npx vitest run test/integration/selfhost-pg.test.ts