Skip to content

feat: support analytics().sendEvent() from Pages Router API routes #45

feat: support analytics().sendEvent() from Pages Router API routes

feat: support analytics().sendEvent() from Pages Router API routes #45

Workflow file for this run

name: E2E
on:
pull_request:
branches: [main]
workflow_dispatch:
concurrency:
group: e2e-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Cache Playwright browsers
uses: actions/cache@v4
with:
path: ~/.cache/ms-playwright
key: playwright-${{ hashFiles('e2e/bun.lock') }}
- name: Install Playwright browsers
run: ./e2e/node_modules/.bin/playwright install --with-deps chromium
- name: Build
run: bun run build
- name: E2E Tests
run: bun run e2e