Skip to content

Commit 306798a

Browse files
committed
ci: 🤖 separate jest and vitest jobs
this helps getting early feedback about the potential root cause this can also provide a performance idea (even though it's not as significant as we had many many tests)
1 parent d2d5c96 commit 306798a

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,27 @@ jobs:
3636
uses: ./.github/actions/setup
3737
- run: pnpm nx run tools:sanity-check
3838

39+
jest:
40+
name: 🎪 Jest
41+
runs-on: ubuntu-22.04
42+
steps:
43+
- uses: actions/checkout@v4
44+
with:
45+
fetch-depth: 0
46+
- name: Setup
47+
uses: ./.github/actions/setup
48+
- run: pnpm nx affected -t jest --pass-with-no-tests
49+
3950
test:
40-
name: ✅ Test
51+
name: ⚡️ Vitest
4152
runs-on: ubuntu-22.04
4253
steps:
4354
- uses: actions/checkout@v4
4455
with:
4556
fetch-depth: 0
4657
- name: Setup
4758
uses: ./.github/actions/setup
48-
- run: pnpm nx affected -t jest,test --pass-with-no-tests
59+
- run: pnpm nx affected -t test --pass-with-no-tests
4960

5061
playwright-ct:
5162
name: 🎭 Playwright CT

0 commit comments

Comments
 (0)