Skip to content

Commit c3c9424

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

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
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: pnpm dlx playwright install --with-deps
5861
- name: Run Playwright Tests
59-
run: pnpmx playwright test
62+
run: pnpm exec test
6063
- uses: actions/upload-artifact@v4
6164
id: playwright-report-artifact
6265
if: ${{ !cancelled() }}

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ packages:
22
- "app"
33
- "packages/ui"
44
- "packages/go-ui-storybook"
5-
- "e23-tests"
5+
- "e2e-tests"

0 commit comments

Comments
 (0)