Skip to content

Commit a29c223

Browse files
rwdaigleclaude
andcommitted
Fix CI flaky TypeScript tests by pre-installing tsx
The TypeScript migration tests were failing due to race conditions when multiple parallel tests tried to install tsx via npx simultaneously, corrupting npm's cache directory. Fix by pre-installing tsx globally before running tests. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 325cc50 commit a29c223

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ jobs:
2626
- name: Install nextest
2727
uses: taiki-e/install-action@nextest
2828

29+
- name: Setup Node.js
30+
uses: actions/setup-node@v4
31+
with:
32+
node-version: '20'
33+
34+
- name: Pre-install tsx for TypeScript tests
35+
run: npm install -g tsx
36+
2937
- name: Format check
3038
run: cargo fmt --check
3139

0 commit comments

Comments
 (0)