Skip to content

perf(formula): dependency v4 #6542

perf(formula): dependency v4

perf(formula): dependency v4 #6542

Workflow file for this run

name: 🎭 Playwright Tests
on:
pull_request:
branches:
- dev
jobs:
e2e-test:
runs-on: ubuntu-latest
env:
GH_TOKEN: ${{ github.token }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: ./.github/actions/setup-node
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps chromium
- name: Build E2E Client
run: pnpm build:e2e
- name: Run Playwright Tests
run: pnpm exec playwright test --output=playwright-assets
- name: 🚀 Deploy to Vercel
uses: amondnet/vercel-action@v25
if: failure()
id: vercel-e2e-report # we only need to upload to Vercel if this CI fails
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.ORG_ID }}
vercel-project-id: ${{ secrets.PROJECT_ID_E2E }}
- name: Write Playwright Report to PR Comment
uses: daun/playwright-report-summary@v3
if: always()
with:
report-file: playwright-report.json
custom-info: 'For more information, [see full report](${{ steps.vercel-e2e-report.outputs.preview-url }})'
- name: Upload Artifact
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: |
playwright-report/
test-results/
retention-days: 30