Skip to content

.github/workflows/e2e-pr.yaml #6

.github/workflows/e2e-pr.yaml

.github/workflows/e2e-pr.yaml #6

Workflow file for this run

name: E2E Tests
on:
deployment_status:
jobs:
run-e2es:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v3
with:
version: 8
- name: Install dependencies
run: pnpm ci && npx playwright install --with-deps
- name: Run tests
run: pnpm e2e
env:
BASE_URL: ${{ github.event.deployment_status.environment_url }}