Skip to content

Commit e0be425

Browse files
committed
ci: separate E2E tests into dedicated job
- Create separate 'e2e' job that runs after 'check' job - E2E tests run in parallel after check passes - Each job has its own environment and build step - Clearer separation between unit tests and E2E tests in CI output
1 parent 6880ef7 commit e0be425

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/check.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,21 @@ jobs:
2727
- name: Build
2828
run: pnpm build
2929

30+
e2e:
31+
runs-on: ubuntu-latest
32+
needs: check
33+
34+
steps:
35+
- name: Checkout code
36+
uses: actions/checkout@v4
37+
38+
- name: Setup pnpm & install
39+
uses: wyvox/action-setup-pnpm@v3
40+
with:
41+
node-version: 22
42+
43+
- name: Build
44+
run: pnpm build
45+
3046
- name: Run E2E tests
3147
run: cd test && pnpm install && pnpm test

0 commit comments

Comments
 (0)