Skip to content

Commit 936dcf6

Browse files
Laoujinclaude
andcommitted
Fix backend build by restricting typeRoots
Skip @types folder to avoid bson type resolution issues while still using custom ./types definitions. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1d08bf5 commit 936dcf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ jobs:
7070
run: |
7171
# Remove problematic type definitions that don't work with older TS
7272
rm -rf node_modules/@types/babel__traverse
73-
npm run build
73+
# Build with skipLibCheck to avoid type resolution issues
74+
npx tsc -p . --skipLibCheck --typeRoots ./types
7475
7576
- name: Start backend
7677
working-directory: ./confac/backend

0 commit comments

Comments
 (0)