# Cheap guardrail on every PR: lint + typecheck. Nothing builds or deploys here.
name: PR checks

# DISABLED — manual-only for now (deploys run by hand). To re-enable, restore
# the pull_request trigger below and connect the repo to EAS's GitHub
# integration. Until then this can be run on demand: eas workflow:run.
on:
  workflow_dispatch: {}
  # pull_request:
  #   branches: ['main']

jobs:
  check:
    name: Lint and typecheck
    steps:
      - uses: eas/checkout
      - uses: eas/install_node_modules
      - name: Typecheck
        run: bun run typecheck
      - name: Lint
        run: bun run lint
