Skip to content

Commit

Permalink
ci: run build before test:e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
haoqunjiang committed Dec 18, 2024
1 parent db07bd2 commit 98a9a26
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,13 @@ jobs:
working-directory: ./playground/playwright
run: pnpm exec playwright install --with-deps

# Run `test:e2e` in project folders contain `matrix.e2e-framework`
- name: Run build script
working-directory: ./playground
run: pnpm --filter "*${{ matrix.e2e-framework }}*" build

- name: Run e2e test script
working-directory: ./playground
run: pnpm --filter "{*${{ matrix.e2e-framework }}*}" test:e2e
run: pnpm --filter "*${{ matrix.e2e-framework }}*" test:e2e

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

0 comments on commit 98a9a26

Please sign in to comment.