Skip to content

Commit

Permalink
chore: tweak ci #236
Browse files Browse the repository at this point in the history
  • Loading branch information
srizvi committed Apr 16, 2024
1 parent 7180923 commit 0e871b6
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ concurrency:
# @link https://turborepo.org/docs/core-concepts/remote-caching#remote-caching-on-vercel-builds
env:
FORCE_COLOR: 3
# TURBO_TEAM: ${{ vars.TURBO_TEAM }}
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
BASEHUB_TOKEN: ${{ secrets.BASEHUB_TOKEN }}

jobs:
Expand Down Expand Up @@ -58,9 +58,26 @@ jobs:
- name: Setup
uses: ./tooling/github/setup

# Generate Basehub Types specifically for apps/web
- name: Generate Basehub Types (apps/web)
if: ${{ matrix.app == 'apps/web' }}
run: pnpm basehub-generate
working-directory: apps/web

- name: Typecheck
- name: Typecheck for each app
run: pnpm typecheck
working-directory: ${{ matrix.app }}
strategy:
matrix:
app:
[
apps/web,
apps/mai,
apps/coco,
apps/nextjs,
packages/api,
packages/auth,
packages/db,
packages/ui,
packages/validators,
]
3 changes: 1 addition & 2 deletions apps/mai/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"jsx": "preserve",
"baseUrl": ".",
"paths": {
"#/*": ["./src/*"],
"#/assets/*": ["./src/assets/*"]
"#/*": ["./src/*"]
},
"plugins": [{ "name": "next" }],
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json",
Expand Down

0 comments on commit 0e871b6

Please sign in to comment.