Skip to content

Commit

Permalink
feat: use pnpm instead of yarn to run playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
samshara committed Nov 27, 2024
1 parent 586fa1b commit 6c82c6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ jobs:
working-directory: packages/e2e-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
Expand All @@ -54,9 +57,9 @@ jobs:
with:
node-version: lts/*
- name: Install Playwright Browsers
run: pnpmx playwright install --with-deps
run: pnpx playwright install --with-deps
- name: Run Playwright Tests
run: pnpmx playwright test
run: pnpx playwright test
- uses: actions/upload-artifact@v4
id: playwright-report-artifact
if: ${{ !cancelled() }}
Expand Down
2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ packages:
- "app"
- "packages/ui"
- "packages/go-ui-storybook"
- "e23-tests"
- "e2e-tests"

0 comments on commit 6c82c6e

Please sign in to comment.