Skip to content

⬆️ Update dependency @testing-library/react to v14.2.1 - autoclosed #554

⬆️ Update dependency @testing-library/react to v14.2.1 - autoclosed

⬆️ Update dependency @testing-library/react to v14.2.1 - autoclosed #554

Workflow file for this run

name: e2e
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Setup playwright
run: pnpm exec playwright install --with-deps
- name: Waiting for Vercel Preview
uses: patrickedqvist/[email protected]
id: shinypoems
with:
token: ${{ secrets.GITHUB_TOKEN }}
max_timeout: 180
- name: Run E2E test
run: |
pnpm run test:e2e
env:
PREVIEW_URL: ${{ steps.shinypoems.outputs.url }}
- name: Upload report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report-e2e
path: playwright-report/
retention-days: 30