Skip to content

Verify

Verify #1

Workflow file for this run

name: Verify
on:
workflow_call:
workflow_dispatch:
jobs:
lint:
name: Lint
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Lint repo
run: pnpm lint:repo
- name: Lint code
run: pnpm lint
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Build
run: pnpm build
types:
name: Types
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Check types
run: pnpm typecheck
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Setup Nix
uses: ./.github/actions/setup-nix
with:
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Setup Playwright
run: pnpm exec playwright install
- name: Run Tests
uses: nick-fields/retry@v3
with:
command: nix develop -c pnpm test
max_attempts: 3
timeout_seconds: 180
build-docs:
name: Build Docs
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/install-deps
- name: Build Packages (dependency of docs)
run: pnpm build
- name: Build Docs
run: pnpm docs:build