Skip to content

Commit

Permalink
fix: set PLAYWRIGHT_BROWSERS_PATH for Playwright tests in workflow (#259
Browse files Browse the repository at this point in the history
)
  • Loading branch information
typeWolffo authored Nov 28, 2024
1 parent 02057bf commit 7038e58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/playwright-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ jobs:
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
working-directory: ./apps/web
env:
PLAYWRIGHT_BROWSERS_PATH: /home/runner/.cache/ms-playwright

- name: Run Playwright tests
run: pnpm playwright test
working-directory: ./apps/web
env:
HOME: /root
PLAYWRIGHT_BROWSERS_PATH: /home/runner/.cache/ms-playwright
TEST_KEY: ${{ secrets.TEST_KEY }}

0 comments on commit 7038e58

Please sign in to comment.