Skip to content

Commit 4193ca2

Browse files
committed
ci: use pnpm exec to install playwright
Using our desired version.
1 parent 65cfeb5 commit 4193ca2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/playwright.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,12 @@ jobs:
174174
node-version: '22'
175175
cache: pnpm
176176

177-
- name: Install Playwright Browsers
178-
run: pnpx playwright install --with-deps
179-
180177
- name: pnpm install
181178
run: pnpm install --frozen-lockfile
179+
180+
- name: Install Playwright Browsers
181+
run: pnpm exec playwright install --with-deps
182+
182183
- name: Build itk-wasm
183184
run: |
184185
pnpm run --aggregate-output --filter itk-wasm build
@@ -242,10 +243,13 @@ jobs:
242243
pnpm run --aggregate-output --filter itk-wasm build
243244
- name: Install dependencies
244245
run: pnpm install
246+
245247
- name: Install Playwright Browsers
246-
run: pnpx playwright install --with-deps
248+
run: pnpm exec playwright install --with-deps
249+
247250
- name: Run Playwright tests
248251
run: pnpm run test
252+
249253
- uses: actions/upload-artifact@v4
250254
if: ${{ !cancelled() }}
251255
with:

0 commit comments

Comments
 (0)