Skip to content

Commit

Permalink
ci: Parallelize individual .d.ts validation
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Apr 7, 2024
1 parent 83b8bcc commit cd7b635
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,5 @@ jobs:
run: npm test
- name: Validate individual .d.ts files
run: |
set -e
for i in index.d.ts types/*.d.ts; do
echo "Validating $i"
npx tsc "$i" --target es6 --noEmit
done
sudo apt install parallel
parallel -v npx tsc --target es6 --noEmit ::: index.d.ts types/*.d.ts

0 comments on commit cd7b635

Please sign in to comment.