Skip to content

feat(projects): feature Run Together, Better Save and Guts on home #26

feat(projects): feature Run Together, Better Save and Guts on home

feat(projects): feature Run Together, Better Save and Guts on home #26

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
# Cancel in-progress runs on the same ref (e.g. new push to a PR).
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Lint, typecheck & unit tests
runs-on: ubuntu-latest
env:
# Skip t3-env validation in CI (no real secrets needed to lint/build).
# NOTE: skipping bypasses Zod entirely, so `.default()` values are NOT
# applied — public vars read at runtime must be provided explicitly.
SKIP_ENV_VALIDATION: "true"
NEXT_PUBLIC_SITE_URL: "http://localhost:3000"
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Biome (lint + format check)
run: pnpm biome ci
- name: Typecheck
run: pnpm typecheck
- name: Unit tests
run: pnpm test
- name: Build
run: pnpm build
e2e:
name: E2E (Playwright)
runs-on: ubuntu-latest
env:
SKIP_ENV_VALIDATION: "true"
NEXT_PUBLIC_SITE_URL: "http://localhost:3000"
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps chromium
- name: Run Playwright tests
run: pnpm test:e2e
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 7