Skip to content

Commit fc6df7b

Browse files
Laoujinclaude
andcommitted
Use TypeScript 5 for backend build in CI
TypeScript 4.3 can't parse newer type syntax in @types/babel__traverse. Install TS5 temporarily for the build step. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 04399c5 commit fc6df7b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ jobs:
6767
6868
- name: Build backend
6969
working-directory: ./confac/backend
70-
run: npx tsc -p . --skipLibCheck
70+
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
7174
7275
- name: Start backend
7376
working-directory: ./confac/backend

0 commit comments

Comments
 (0)