Skip to content

Commit 5c4aa0e

Browse files
Laoujinclaude
andcommitted
Simplify backend build: remove babel types + skipLibCheck
Remove all @types/babel__* packages and use skipLibCheck to avoid type resolution issues with library dependencies. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent cff367a commit 5c4aa0e

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,10 @@ jobs:
6868
- name: Build backend
6969
working-directory: ./confac/backend
7070
run: |
71-
# Remove problematic type definitions that don't work with older TS
72-
rm -rf node_modules/@types/babel__traverse
73-
# Create stub for bson types (referenced by @types/mongodb)
74-
mkdir -p types/bson
75-
echo 'declare module "bson";' > types/bson/index.d.ts
76-
# Build
77-
npm run build
71+
# Remove problematic type definitions that have TS version issues
72+
rm -rf node_modules/@types/babel__*
73+
# Build with skipLibCheck to avoid library type issues
74+
npx tsc -p . --skipLibCheck
7875
7976
- name: Start backend
8077
working-directory: ./confac/backend

0 commit comments

Comments
 (0)