Skip to content

Commit

Permalink
chore(ci): simplify Playwright installation step and adjust report path
Browse files Browse the repository at this point in the history
  • Loading branch information
MoinJulian committed Nov 21, 2024
1 parent f754556 commit 35ad86d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
- run: npm i
- run: npx playwright install --with-deps
if: steps.playwright-cache.outputs.cache-hit != 'true'
- run: npx playwright install-deps
- run: npx playwright install --with-deps chromium
if: steps.playwright-cache.outputs.cache-hit != 'true'

- name: Run Playwright tests
Expand All @@ -36,5 +34,5 @@ jobs:
if: always()
with:
name: playwright-report
path: apps/api/playwright-report/
path: playwright-report/
retention-days: 7

0 comments on commit 35ad86d

Please sign in to comment.