Skip to content

Commit

Permalink
Replace npm with pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvasqm committed Sep 20, 2024
1 parent be82bbe commit f34af9d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
name: Playwright Tests

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

jobs:
test:
timeout-minutes: 60
Expand All @@ -13,12 +15,15 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: npm ci
run: pnpm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
run: pnpm exec playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
Expand Down

0 comments on commit f34af9d

Please sign in to comment.