Skip to content

Commit cd7b635

Browse files
committed
ci: Parallelize individual .d.ts validation
1 parent 83b8bcc commit cd7b635

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,5 @@ jobs:
2121
run: npm test
2222
- name: Validate individual .d.ts files
2323
run: |
24-
set -e
25-
for i in index.d.ts types/*.d.ts; do
26-
echo "Validating $i"
27-
npx tsc "$i" --target es6 --noEmit
28-
done
24+
sudo apt install parallel
25+
parallel -v npx tsc --target es6 --noEmit ::: index.d.ts types/*.d.ts

0 commit comments

Comments
 (0)