Skip to content

Playwright

Playwright #65

Workflow file for this run

name: Playwright
on:
deployment_status:
jobs:
test:
name: 'Run E2E Tests'
timeout-minutes: 60
runs-on: ubuntu-latest
if:
github.event_name == 'deployment_status' &&
github.event.deployment_status.state == 'success'
env:
ENVIRONMENT_URL:
${{ github.event.deployment_status.environment_url }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: yarn
- name: Install Playwright Browsers
run: yarn playwright install --with-deps
- name: Run Playwright tests
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30