Skip to content

Commit eac44fb

Browse files
debug: temporarily capture tsbuildinfo cache contents for investigation
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5d9466a commit eac44fb

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,24 @@ jobs:
323323
key: tsbuildinfo-${{ runner.os }}-${{ github.run_id }}
324324
restore-keys: |
325325
tsbuildinfo-${{ runner.os }}-
326+
- name: DEBUG copy restored tsbuildinfo
327+
if: ${{ matrix.scripts == 'lint:tsc' }}
328+
run: |
329+
ls -la tsconfig.tsbuildinfo || echo "NO RESTORED FILE"
330+
cp tsconfig.tsbuildinfo /tmp/tsbuildinfo-restored.json || true
326331
- run: yarn ${{ matrix['scripts'] }}
332+
- name: DEBUG copy fresh tsbuildinfo
333+
if: ${{ matrix.scripts == 'lint:tsc' }}
334+
run: |
335+
ls -la tsconfig.tsbuildinfo || echo "NO FRESH FILE"
336+
cp tsconfig.tsbuildinfo /tmp/tsbuildinfo-fresh.json || true
337+
- name: DEBUG upload tsbuildinfo artifacts
338+
if: ${{ matrix.scripts == 'lint:tsc' && always() }}
339+
uses: actions/upload-artifact@v4
340+
with:
341+
name: tsbuildinfo-debug
342+
path: /tmp/tsbuildinfo-*.json
343+
if-no-files-found: warn
327344
- name: Require clean working directory
328345
shell: bash
329346
run: |

0 commit comments

Comments
 (0)