Skip to content

docs: highlight site-specific guides in README #94

docs: highlight site-specific guides in README

docs: highlight site-specific guides in README #94

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Format check
run: pnpm format:check
- name: Lint
run: pnpm turbo lint
- name: Type check
run: pnpm turbo typecheck
- name: Test with coverage
run: pnpm turbo test:coverage
- name: Build
run: pnpm turbo build
e2e:
runs-on: ubuntu-latest
needs: ci
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Chromium
run: npx playwright install chromium --with-deps
- name: Build
run: pnpm turbo build
- name: Run E2E tests
run: xvfb-run --auto-servernum pnpm test:e2e
env:
CI: true
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: playwright-report
path: |
test/e2e-pw/playwright-report/
test/e2e-pw/test-results/
retention-days: 14