Skip to content

Commit dad1dfd

Browse files
committed
chore(ci): update Playwright workflow to use pnpm and remove .npmrc
1 parent 1d57004 commit dad1dfd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,23 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: lts/*
16+
- uses: pnpm/action-setup@v4
17+
with:
18+
version: 9
1619
- name: Install Deps (FFmpeg is install through Playwright)
1720
run: |
1821
sudo apt-get update
1922
sudo apt-get install -y libreoffice-writer
2023
- name: Install dependencies
21-
run: npm ci
24+
run: pnpm install --frozen-lockfile
2225
- name: Install Playwright Browsers
23-
run: npx playwright install --with-deps
26+
run: pnpm exec playwright install --with-deps
2427
- name: Run Playwright tests
2528
env:
2629
NEXT_PUBLIC_NODE_ENV: test
2730
API_BASE: https://api.deepinfra.com/v1/openai
2831
API_KEY: ${{ secrets.DEEPINFRA_API_KEY }}
29-
run: npx playwright test --reporter=list,github,html
32+
run: pnpm exec playwright test --reporter=list,github,html
3033
- uses: actions/upload-artifact@v4
3134
if: ${{ !cancelled() }}
3235
with:

.npmrc

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)