ci: build the workspace before typecheck - consumers resolve @coreci/* types from dist
ci / test-pglite (PGlite, default) (push) Failing after 34s
ci / test-postgres (Postgres 16, G-022 RLS) (push) Failing after 44s
ci / test-pglite (PGlite, default) (pull_request) Failing after 35s
ci / test-postgres (Postgres 16, G-022 RLS) (pull_request) Failing after 44s

This commit is contained in:
2026-10-27 04:35:13 +00:00
parent 62e1833ec9
commit 66f9af65f7
+12
View File
@@ -82,6 +82,12 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
# Consumers resolve @coreci/db and @coreci/secrets through their
# published dist/*.d.ts, so the workspace must be built (pnpm -r build
# runs it in dependency order) before typecheck and before the tests.
- name: Build (workspace packages - dist for the type declarations)
run: pnpm -r build
- name: Typecheck
run: pnpm typecheck
@@ -185,6 +191,12 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
# Consumers resolve @coreci/db and @coreci/secrets through their
# published dist/*.d.ts, so the workspace must be built (pnpm -r build
# runs it in dependency order) before typecheck and before the tests.
- name: Build (workspace packages - dist for the type declarations)
run: pnpm -r build
- name: Install the postgres client (the runner image carries no psql)
run: |
apt-get update -qq && apt-get install -y -qq postgresql-client