Skip to content

E2E

E2E #46

Workflow file for this run

name: E2E
on: deployment_status
jobs:
e2e:
if: github.event_name == 'deployment_status' && github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
strategy:
matrix:
browser: [chrome, edge, firefox, webkit]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'
- run: npm ci
- run: npx playwright install-deps webkit
if: matrix.browser == 'webkit'
- uses: cypress-io/github-action@v6
with:
install: false
browser: ${{ matrix.browser }}
env:
VERCEL_ENV: ${{ github.event.deployment_status.environment }}
CYPRESS_BASE_URL: ${{ github.event.deployment_status.environment_url }}