Skip to content

Commit

Permalink
test: agin
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaup committed May 18, 2024
1 parent 72f3f16 commit c3696d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tsc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
fi
echo "Running tsc"
npx tsc --noEmit --pretty false 2> base-tsc-output/tsc_errors.txt || { echo 'tsc command failed'; cat base-tsc-output/tsc_errors.txt; exit 1; }
npx tsc --noEmit --pretty false --exclude '/example/**/*' 2> base-tsc-output/tsc_errors.txt || { echo 'tsc command failed'; cat base-tsc-output/tsc_errors.txt; exit 1; }
echo "Extracting errors"
grep -oE '^[^ ]+.ts:[0-9]+:[0-9]+' base-tsc-output/tsc_errors.txt | sort -u > base-tsc-errors.txt || { echo 'grep command failed'; exit 1; }
Expand All @@ -80,7 +80,7 @@ jobs:

- name: Run tsc on PR branch
run: |
npx tsc --noEmit --pretty false > head-tsc-output.txt || { echo 'tsc command failed'; exit 1; }
npx tsc --noEmit --pretty false --exclude '/example/**/*' > head-tsc-output.txt || { echo 'tsc command failed'; exit 1; }
- name: Extract errors from PR branch
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tsc-output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
uses: ./.github/actions/setup

- name: Run TypeScript Compiler
run: npx tsc --noEmit --pretty false > tsc_output.txt
run: npx tsc --noEmit --pretty false --exclude '/example/**/*' > tsc_output.txt

- name: Extract branch name
run: |
Expand Down

0 comments on commit c3696d4

Please sign in to comment.