Skip to content

Commit

Permalink
feat: use actions/setup-node Typescript problem matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
shvlv committed Sep 18, 2024
1 parent 96e2086 commit 960ec5f
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/static-analysis-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,4 @@ jobs:
run: ${{ format('npm {0}', env.ARGS) }}

- name: Run tsc
run: |
./node_modules/.bin/tsc --noEmit --skipLibCheck --pretty false |
while read -r line
do
if [[ $line =~ ([0-9a-z\/\.]+)[\(]([0-9]+)[\,]([0-9]+)[\)].*(TS.*) ]]; then
echo "::error file=${BASH_REMATCH[1]},line=${BASH_REMATCH[2]},col=${BASH_REMATCH[3]}::${BASH_REMATCH[4]}"
fi
done
exit "${PIPESTATUS[0]}"
run: ./node_modules/.bin/tsc --noEmit --skipLibCheck --pretty false

0 comments on commit 960ec5f

Please sign in to comment.