Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/check-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ jobs:
echo "::notice title=Mixed TR and informative docs changes::Please submit changes to TR space separately from changes to informative docs."
echo "CHECK_FAILED=1" >> "$GITHUB_ENV"
fi
- name: Check TypeScript
run: |
npm ci
if test $(npx tsc | wc -l) -gt 0; then
echo '::notice title=Branch contains TypeScript errors::Run `npm run check` locally for details.'
echo "CHECK_FAILED=1" >> "$GITHUB_ENV"
fi
- name: Reflect status
run: |
test ! $CHECK_FAILED