Skip to content

Commit

Permalink
chore: build all required packages manually before running checks
Browse files Browse the repository at this point in the history
  • Loading branch information
sjschlapbach committed May 29, 2024
1 parent 19baf2c commit aa67050
Showing 1 changed file with 44 additions and 26 deletions.
70 changes: 44 additions & 26 deletions .github/workflows/check-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,71 +22,89 @@ jobs:
with:
version: 8.14.1
run_install: true
- name: Build project
- name: Build all required packages
run: |
cd packages/prisma
pnpm run build
cd ../graphql
pnpm run build
cd ../markdown
pnpm run build
cd ../grading
pnpm run build
cd ../shared-components
pnpm run build
- name: Check prisma package typescript types
if: always()
shell: bash
run: pnpm run build
run: |
cd packages/prisma
pnpm run check
- name: Check graphql package typescript types
if: always()
shell: bash
run: |
cd packages/graphql
pnpm run check
- name: Check lti package typescript types
if: always()
shell: bash
run: |
cd packages/lti
pnpm run build
pnpm run check
- name: Check shared-components package typescript types
if: always()
shell: bash
run: |
cd packages/shared-components
pnpm run check
- name: Check backend-docker typescript types
shell: bash
run: |
cd apps/backend-docker
pnpm run build
pnpm run check
- name: Check frontend-pwa typescript types
if: always() # Run this step even if the previous one fails
shell: bash
run: |
cd apps/frontend-pwa
pnpm run build
pnpm run check
- name: Check frontend-manage typescript types
if: always()
shell: bash
run: |
cd apps/frontend-manage
pnpm run build
pnpm run check
- name: Check frontend-control typescript types
if: always()
shell: bash
run: |
cd apps/frontend-control
pnpm run build
pnpm run check
- name: Check office-addin typescript types
if: always()
shell: bash
run: |
cd apps/office-addin
pnpm run build
pnpm run check
- name: Check func-response-processor typescript types
if: always()
shell: bash
run: |
cd apps/func-response-processor
pnpm run build
pnpm run check
- name: Check func-incoming-responses typescript types
if: always()
shell: bash
run: |
cd apps/func-incoming-responses
pnpm run check
- name: Check graphql package typescript types
if: always()
shell: bash
run: |
cd packages/graphql
pnpm run check
- name: Check lti package typescript types
if: always()
shell: bash
run: |
cd packages/lti
pnpm run check
- name: Check prisma package typescript types
if: always()
shell: bash
run: |
cd packages/prisma
pnpm run check
- name: Check shared-components package typescript types
if: always()
shell: bash
run: |
cd packages/shared-components
pnpm run build
pnpm run check

0 comments on commit aa67050

Please sign in to comment.