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 4b039d5 commit 72f3f16
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tsc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ jobs:
git checkout ${{ github.base_ref }}
echo "Creating output directory"
mkdir -p base-tsc-output
# Install dependencies from Yarn cache if it exists
if [ -d ~/.cache/yarn ]; then
echo "Using Yarn cache"
cp -r ~/.cache/yarn .cache
else
echo "Yarn cache not found"
yarn install
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; }
echo "Extracting errors"
Expand Down

0 comments on commit 72f3f16

Please sign in to comment.