Skip to content

ci: add E2E smoke test step to GitHub Actions workflow #8

ci: add E2E smoke test step to GitHub Actions workflow

ci: add E2E smoke test step to GitHub Actions workflow #8

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
# version is read from packageManager field in package.json
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Chromium
run: pnpm --filter @browserkit/core exec playwright install chromium --with-deps
- name: Build
run: pnpm build
- name: Test (unit)
run: pnpm test
- name: Test (E2E smoke)
run: pnpm test:e2e
timeout-minutes: 5