Skip to content

fix(buy): name the real reason a NIM quote is refused, and reject a n… #29

fix(buy): name the real reason a NIM quote is refused, and reject a n…

fix(buy): name the real reason a NIM quote is refused, and reject a n… #29

Workflow file for this run

name: CI
# Gate merges on lint + type-check + unit tests. Deploys/build are handled by
# Vercel; this workflow is the fast correctness check — in particular the
# regression guards for the silent RPC-data failures (getLogs chunk size,
# transport failover config). Coverage floors live in
# apps/web/vitest.config.ts and fail the `test` step on regression.
#
# Self-contained on purpose: this used to call a shared reusable workflow from
# another org, which made every run depend on a repo this project no longer has
# anything to do with. The steps below are that baseline, inlined.
on:
pull_request:
branches: [main]
push:
branches: [main]
# Cancel superseded runs on the same ref so a rapid push sequence doesn't queue.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8.10.0
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: pnpm
# --frozen-lockfile so a drifted lockfile fails here rather than
# silently resolving different versions than a developer ran locally.
- run: pnpm install --frozen-lockfile
- run: pnpm run lint
- run: pnpm run typecheck
- run: pnpm run test