Skip to content

chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 #35

chore(deps): bump cross-spawn from 7.0.3 to 7.0.5

chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 #35

Workflow file for this run

name: Playwright Tests
on:
workflow_dispatch:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
e2e-tests:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm ${{ vars.PNPM_VERSION }}
uses: pnpm/action-setup@v4
with:
version: ${{ vars.PNPM_VERSION }}
- name: Use Node.js ${{ vars.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ vars.NODE_VERSION }}
cache: 'pnpm'
- name: Install project dependencies
run: pnpm install
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run Playwright tests
run: pnpm e2e:test
env:
RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }}
RESEND_FROM_EMAIL: ${{ secrets.RESEND_FROM_EMAIL }}
RESEND_TO_EMAIL: ${{ secrets.RESEND_TO_EMAIL }}
NODE_ENV: development
NEXT_PUBLIC_POSTHOG_KEY: ${{ secrets.POSTHOG_KEY }}
NEXT_PUBLIC_POSTHOG_HOST: ${{ vars.POSTHOG_HOST }}
NEXT_PUBLIC_NODE_ENV: development
- name: Publish Playwright CTRF Detailed Test Summary Results
if: always()
run: npx github-actions-ctrf tests playwright-report/ctrf-report.json
- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 15