Skip to content

Commit 4338304

Browse files
committed
fix dependencies in playwright yaml
1 parent 55a1a9f commit 4338304

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/playwright.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,35 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20+
21+
- uses: pnpm/action-setup@v2
22+
with:
23+
version: 8
24+
2025
- uses: actions/setup-node@v4
2126
with:
2227
node-version: lts/*
2328
cache: 'pnpm'
29+
2430
- name: Install dependencies
25-
run: npm install -g pnpm && pnpm install
31+
run: pnpm install --frozen-lockfile
32+
2633
- name: Install Playwright Browsers
2734
run: pnpm exec playwright install --with-deps
35+
2836
- name: Install wait-on
2937
run: npm install -g wait-on
38+
3039
- name: Start web application and wait
3140
working-directory: ./apps/web
3241
run: |
3342
pnpm dev & # Start the dev server in background
3443
wait-on -t 60000 http://localhost:5173 # Wait for up to 60 seconds for the server to respond
44+
3545
- name: Run Playwright tests
3646
working-directory: ./apps/web
3747
run: pnpm exec playwright test
48+
3849
- uses: actions/upload-artifact@v4
3950
if: ${{ !cancelled() }}
4051
with:

0 commit comments

Comments
 (0)