Skip to content

Commit f67da12

Browse files
committed
fix: let turbo handle dep builds, install tsgo before typecheck
1 parent 7b49947 commit f67da12

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/typecheck-tsgo.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,19 @@ jobs:
3131
- name: 📀 Generate Prisma Client
3232
run: pnpm run generate
3333

34-
- name: 🔨 Build all packages
35-
run: pnpm run build
36-
env:
37-
NODE_OPTIONS: --max-old-space-size=8192
38-
3934
- name: 📦 Install tsgo
4035
run: pnpm add -Dw @typescript/native-preview
4136

42-
- name: 🔎 Typecheck with tsc (baseline)
37+
- name: 🔎 Typecheck with tsc (via turbo — builds deps then typechecks)
4338
run: |
44-
echo "::group::tsc versions"
39+
echo "::group::tsc version"
4540
npx tsc --version
4641
echo "::endgroup::"
4742
SECONDS=0
4843
pnpm run typecheck
4944
echo ""
5045
echo "========================================="
51-
echo "tsc total: ${SECONDS}s"
46+
echo "tsc total (including dep builds): ${SECONDS}s"
5247
echo "========================================="
5348
env:
5449
NODE_OPTIONS: --max-old-space-size=8192

0 commit comments

Comments
 (0)