From f34af9d3b19a6488cd94c378102ccf80cf777a70 Mon Sep 17 00:00:00 2001 From: chrisvasqm Date: Fri, 20 Sep 2024 16:04:25 -0400 Subject: [PATCH] Replace npm with pnpm --- .github/workflows/playwright.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 2812391..069ec3b 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -1,9 +1,11 @@ name: Playwright Tests + on: push: branches: [main, master] pull_request: branches: [main, master] + jobs: test: timeout-minutes: 60 @@ -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: