Skip to content

Commit 48a5e67

Browse files
d4mationclaude
andcommitted
ENG-219: Skip typecheck when no TypeScript source files exist
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 829a32e commit 48a5e67

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/lint.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ jobs:
1010
node-version: 20
1111
- run: npm ci
1212
- run: npm run lint
13-
- run: npm run typecheck
13+
- name: Typecheck
14+
run: |
15+
if ls src/**/*.ts >/dev/null 2>&1; then
16+
npm run typecheck
17+
else
18+
echo "No TypeScript source files found, skipping typecheck"
19+
fi

0 commit comments

Comments
 (0)