Skip to content

Commit

Permalink
ci: use filter instead of relying on working-directory due to weird b…
Browse files Browse the repository at this point in the history
…ehavior
  • Loading branch information
haoqunjiang committed Dec 18, 2024
1 parent 7ef4f77 commit 788e34d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ jobs:

- name: Download Cypress
if: ${{ contains(matrix.e2e-framework, 'cypress') }}
working-directory: ./playground/cypress
working-directory: ./playground
run: |
pnpm exec cypress cache list
pnpm exec cypress install
pnpm --filter "{cypress}" exec cypress cache list
pnpm --filter "{cypress}" exec cypress install
- if: ${{ contains(matrix.e2e-framework, 'playwright') }}
name: Install Playwright dependencies
working-directory: ./playground/playwright
run: npx playwright install --with-deps
working-directory: ./playground
run: pnpm --filter "{playwright}" exec playwright install --with-deps

# Run `test:e2e` in project folders contain `matrix.e2e-framework`
- name: Run e2e test script
Expand Down

0 comments on commit 788e34d

Please sign in to comment.