Skip to content

Commit

Permalink
chore: testing workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kujo205 committed May 16, 2024
1 parent 0463360 commit 396eab0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Playwright Tests
on:
push:
branches: [ main, master ]
branches: [ main, dev ]
pull_request:
branches: [ main, master ]
branches: [ main, dev ]
jobs:
test:
timeout-minutes: 60
Expand All @@ -14,11 +14,13 @@ jobs:
with:
node-version: lts/*
- name: Install dependencies
run: npm install -g pnpm && pnpm install
run: npm install -g pnpm@8.14.0 && pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm exec playwright test
env:
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}
- uses: actions/upload-artifact@v4
if: always()
with:
Expand Down

0 comments on commit 396eab0

Please sign in to comment.