Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Update playwright.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsharkey committed Jan 24, 2024
1 parent afc63d8 commit 76eb548
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ on:
push:
branches: [ release-3.0 ]
jobs:
playwright:
name: 'Playwright Tests'
test:
timeout-minutes: 60
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/playwright:v1.41.1-jammy
if: github.event.deployment_status.state == 'success'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run your tests
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
env:
HOME: /root
PLAYWRIGHT_TEST_BASE_URL: ${{ github.event.deployment_status.target_url }}

0 comments on commit 76eb548

Please sign in to comment.