Skip to content

Commit 4b75fc6

Browse files
committed
feat: use pnpm instead of yarn to run playwright
1 parent 586fa1b commit 4b75fc6

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/playwright.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ jobs:
3030
working-directory: packages/e2e-tests
3131
steps:
3232
- uses: actions/checkout@v4
33-
- uses: actions/setup-node@v4
33+
- name: Install pnpm
34+
uses: pnpm/action-setup@v4
35+
- name: Install Node.js
36+
uses: actions/setup-node@v4
3437
with:
3538
node-version: 20
3639
cache: 'pnpm'
@@ -54,9 +57,9 @@ jobs:
5457
with:
5558
node-version: lts/*
5659
- name: Install Playwright Browsers
57-
run: pnpmx playwright install --with-deps
60+
run: pnpx playwright install --with-deps
5861
- name: Run Playwright Tests
59-
run: pnpmx playwright test
62+
run: pnpx playwright test
6063
- uses: actions/upload-artifact@v4
6164
id: playwright-report-artifact
6265
if: ${{ !cancelled() }}

0 commit comments

Comments
 (0)