chore(deps): bump nanoid from 3.3.7 to 3.3.8 #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |