From bf674e0da4decc6ed5b2cb88be9f8ed9a86b4559 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 8 Jan 2026 17:35:14 +0000 Subject: [PATCH] Update Gate 1.2 workflows to run DBAL codegen before TypeScript type check Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com> --- .github/workflows/gated-ci-atomic.yml | 17 ++++++++++++++++- .github/workflows/gated-ci.yml | 17 ++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gated-ci-atomic.yml b/.github/workflows/gated-ci-atomic.yml index 1a3a40476..cca1d517d 100644 --- a/.github/workflows/gated-ci-atomic.yml +++ b/.github/workflows/gated-ci-atomic.yml @@ -111,7 +111,22 @@ jobs: with: node-version: 20 - - name: Install dependencies + - name: Install root dependencies + run: | + cd ../.. + npm install + + - name: Install DBAL dependencies + run: | + cd ../../dbal/development + npm install + + - name: Generate DBAL types from YAML schemas + run: | + cd ../../dbal/development + npx tsx ../shared/tools/codegen/generate-types.ts + + - name: Install frontend dependencies run: npm install - name: Generate Prisma Client diff --git a/.github/workflows/gated-ci.yml b/.github/workflows/gated-ci.yml index 5f3b55140..45cf424b8 100644 --- a/.github/workflows/gated-ci.yml +++ b/.github/workflows/gated-ci.yml @@ -91,7 +91,22 @@ jobs: with: node-version: 20 - - name: Install dependencies + - name: Install root dependencies + run: | + cd ../.. + npm install + + - name: Install DBAL dependencies + run: | + cd ../../dbal/development + npm install + + - name: Generate DBAL types from YAML schemas + run: | + cd ../../dbal/development + npx tsx ../shared/tools/codegen/generate-types.ts + + - name: Install frontend dependencies run: npm install - name: Generate Prisma Client