Skip to content

Commit 98a9a26

Browse files
committed
ci: run build before test:e2e
1 parent db07bd2 commit 98a9a26

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,13 @@ jobs:
160160
working-directory: ./playground/playwright
161161
run: pnpm exec playwright install --with-deps
162162

163-
# Run `test:e2e` in project folders contain `matrix.e2e-framework`
163+
- name: Run build script
164+
working-directory: ./playground
165+
run: pnpm --filter "*${{ matrix.e2e-framework }}*" build
166+
164167
- name: Run e2e test script
165168
working-directory: ./playground
166-
run: pnpm --filter "{*${{ matrix.e2e-framework }}*}" test:e2e
169+
run: pnpm --filter "*${{ matrix.e2e-framework }}*" test:e2e
167170

168171
# FIXME: `--with-tests` folders
169172
# FIXME: Cypress component testing for projects without Vitest

0 commit comments

Comments
 (0)