Docs
Cloudflare
Railway
CodeRabbit
AG Grid
SerpAPI
WorkOS
Clerk
Netlify
OpenRouter
Unkey
Sentry
Electric
Prisma
Cloudflare
Railway
CodeRabbit
AG Grid
SerpAPI
WorkOS
Clerk
Netlify
OpenRouter
Unkey
Sentry
Electric
Prisma
Conventions

CI/CD

GitHub Workflows

  • :
    • Runs tests for all pull requests
    • Runs , which only executes tasks with invalidated cache
    • Also uses to publish package previews and create links to our examples
  • :
    • Runs tests for code merged into release branches
    • Runs , which executes all tasks and ensures the outputs are present (necessary for publishing builds)
    • Uses Changesets to handle versioning and publishing

Nx

The TanStack projects use Nx to enable rapid execution of our tests and builds. Tasks are parallelised and cached both locally and in CI. While Nx has an extensive plugin system, we only utilise Nx as an NPM script runner.

Config Files

  • : Main config file, which defines task dependencies, inputs, and outputs
  • : Need to manually specify root-level scripts (e.g. )
  • : Package-level scripts (e.g. ) are automatically detected

Nx Agents

  • Nx allows you to distribute your tasks across multiple CI machines, increasing the number of jobs that can be run in parallel
  • Please note that this does incur quite a significant startup delay