Skip to content

Commit 1d08bf5

Browse files
Laoujinclaude
andcommitted
Remove problematic babel types instead of upgrading TS
Simpler fix: remove @types/babel__traverse which has syntax incompatible with TypeScript 4.3. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent fc6df7b commit 1d08bf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
- name: Build backend
6969
working-directory: ./confac/backend
7070
run: |
71-
# Use newer TypeScript to handle newer type syntax in dependencies
72-
npm install -D typescript@5 --no-save
73-
npx tsc -p . --skipLibCheck
71+
# Remove problematic type definitions that don't work with older TS
72+
rm -rf node_modules/@types/babel__traverse
73+
npm run build
7474
7575
- name: Start backend
7676
working-directory: ./confac/backend

0 commit comments

Comments
 (0)