Skip to content

Commit

Permalink
test: remove fi
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaup committed May 18, 2024
1 parent 532cc4c commit d3e10a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tsc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ jobs:
else
echo "Artifact not found."
echo "artifact-found=false" >> $GITHUB_ENV
fi
- name: Generate base errors if artifact not found
if: env.artifact-found == 'false'
run: |
git checkout ${{ github.base_ref }}
npx tsc --noEmit --pretty false > base-tsc-output/tsc_output.txt
grep -oE '^[^ ]+.ts:[0-9]+:[0-9]+' base-tsc-output/tsc_output.txt | sort -u > base-tsc-errors.txt
shell: bash
- name: Extract errors from artifact if found
if: env.artifact-found == 'true'
Expand Down Expand Up @@ -84,4 +84,3 @@ jobs:
else
echo "No new TypeScript errors introduced."
fi
shell: bash

0 comments on commit d3e10a7

Please sign in to comment.