Skip to content

docs: update usage snippets #125

docs: update usage snippets

docs: update usage snippets #125

Workflow file for this run

name: CI
on:
pull_request:
branches:
- main
merge_group:
branches:
- main
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
checks:
name: ${{ matrix.name }}
runs-on: ubuntu-latest
env:
TURBO_SCM_BASE: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || 'origin/main' }}
TURBO_SCM_HEAD: ${{ github.event.pull_request.head.sha || github.event.merge_group.head_sha || github.sha }}
strategy:
fail-fast: false
matrix:
include:
- name: Lint
command: pnpm lint
- name: Typecheck tests
command: pnpm typecheck:test
- name: Test
command: pnpm test --affected
- name: Build
command: pnpm build:full --affected
steps:
- name: Checkout
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup repo
uses: ./.github/actions/setup
- name: Run ${{ matrix.name }}
run: ${{ matrix.command }}