Skip to content

Commit a34bfdc

Browse files
committed
fix: run ci.yml typecheck and build in parallel, but fail if either of
them fails
1 parent f01d7e3 commit a34bfdc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ jobs:
5353
5454
- name: Typecheck and Build web in parallel
5555
run: |
56-
timeout 10m bash -c '
57-
bun run typecheck &
58-
cd web && bun run build &
59-
wait
60-
'
56+
set -e
57+
bun run typecheck &
58+
PID1=$!
59+
cd web && bun run build &
60+
PID2=$!
61+
wait $PID1 && wait $PID2
6162
6263
# - name: Build npm-app
6364
# run: cd npm-app && bun run build

0 commit comments

Comments
 (0)