Skip to content

Commit b71124f

Browse files
committed
fix(ci): isolate test files in workflows
1 parent 12b013f commit b71124f

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,10 @@ jobs:
2626
run: bun run build
2727

2828
- name: Test
29-
run: bun test --max-concurrency=1
29+
shell: bash
30+
run: |
31+
set -euo pipefail
32+
shopt -s globstar nullglob
33+
for file in tests/**/*.test.ts; do
34+
bun test "$file"
35+
done

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@ jobs:
4949
run: bun run build
5050

5151
- name: Test
52-
run: bun test --max-concurrency=1
52+
shell: bash
53+
run: |
54+
set -euo pipefail
55+
shopt -s globstar nullglob
56+
for file in tests/**/*.test.ts; do
57+
bun test "$file"
58+
done
5359
5460
- name: Semantic release
5561
run: |

0 commit comments

Comments
 (0)