mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
Update Gate 1.2 workflows to run DBAL codegen before TypeScript type check
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
17
.github/workflows/gated-ci-atomic.yml
vendored
17
.github/workflows/gated-ci-atomic.yml
vendored
@@ -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
|
||||
|
||||
17
.github/workflows/gated-ci.yml
vendored
17
.github/workflows/gated-ci.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user