ci: build the config and database-postgres packages before the architecture suites (E00-S05-T01)
CI / Stage 1 — Frozen lockfile install (E00-S05-T01) (pull_request) Successful in 53s
CI / Stage 2 — Typecheck (E00-S05-T01) (pull_request) Successful in 1m33s
CI / Stage 3 — Formatting/lint policy (E00-S05-T01) (pull_request) Successful in 1m20s
CI / Stage 4 — Unit tests (E00-S05-T01) (pull_request) Successful in 2m46s
CI / Stage 5 — Architecture tests (E00-S05-T01) (pull_request) Successful in 4m55s
CI / Stage 6 — PostgreSQL integration tests (E00-S05-T01) (pull_request) Successful in 1m22s
CI / Stage 7 — Build the admin and server applications (E00-S05-T01) (pull_request) Successful in 1m22s
CI / Stage 1 — Frozen lockfile install (E00-S05-T01) (pull_request) Successful in 53s
CI / Stage 2 — Typecheck (E00-S05-T01) (pull_request) Successful in 1m33s
CI / Stage 3 — Formatting/lint policy (E00-S05-T01) (pull_request) Successful in 1m20s
CI / Stage 4 — Unit tests (E00-S05-T01) (pull_request) Successful in 2m46s
CI / Stage 5 — Architecture tests (E00-S05-T01) (pull_request) Successful in 4m55s
CI / Stage 6 — PostgreSQL integration tests (E00-S05-T01) (pull_request) Successful in 1m22s
CI / Stage 7 — Build the admin and server applications (E00-S05-T01) (pull_request) Successful in 1m22s
The strict-tsconfig suite typechecks apps/server with tsc --noEmit, which resolves @personal-blog/config and @personal-blog/database-postgres through their compiled dist/ type declarations. On a fresh checkout dist/ does not exist, so the architecture stage must build those two packages first (the same prerequisite the unit and postgres-integration stages already declare).
This commit is contained in:
@@ -141,6 +141,8 @@ jobs:
|
|||||||
run: corepack enable
|
run: corepack enable
|
||||||
- name: Install dependencies (frozen lockfile)
|
- name: Install dependencies (frozen lockfile)
|
||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
|
- name: Build the config and database-postgres packages (strict-tsconfig typechecks apps/server which imports them)
|
||||||
|
run: pnpm --filter @personal-blog/config build && pnpm --filter @personal-blog/database-postgres build
|
||||||
- name: Run the architecture-import suite
|
- name: Run the architecture-import suite
|
||||||
run: node --test tests/architecture-import.test.mjs
|
run: node --test tests/architecture-import.test.mjs
|
||||||
- name: Run the no-core-extension-imports suite
|
- name: Run the no-core-extension-imports suite
|
||||||
|
|||||||
Reference in New Issue
Block a user