Skip to content

Commit 40bff68

Browse files
Laoujinclaude
andcommitted
Build backend without tsconfig typeRoots
Use direct tsc flags instead of tsconfig.json to avoid typeRoots resolution issues with bson. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 5c4aa0e commit 40bff68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ jobs:
7070
run: |
7171
# Remove problematic type definitions that have TS version issues
7272
rm -rf node_modules/@types/babel__*
73-
# Build with skipLibCheck to avoid library type issues
74-
npx tsc -p . --skipLibCheck
73+
# Remove custom typeRoots and build with default resolution + skipLibCheck
74+
npx tsc --outDir ./public --rootDir ./src --skipLibCheck --esModuleInterop --resolveJsonModule --strict
7575
7676
- name: Start backend
7777
working-directory: ./confac/backend

0 commit comments

Comments
 (0)