Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaup committed May 18, 2024
1 parent d8fbf0a commit 5d17845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tsc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
- name: Generate base errors if artifact not found
if: env.artifact-found == 'false'
run: |
set -e
echo "Checking out base branch"
git checkout ${{ github.base_ref }}
echo "Creating output directory"
Expand All @@ -66,6 +65,7 @@ jobs:
npx tsc --noEmit --pretty false --p tsconfig.json 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; }
continue-on-error: true

- name: Extract errors from artifact if found
if: env.artifact-found == 'true'
Expand Down

0 comments on commit 5d17845

Please sign in to comment.