Back to Turborepo

Continuous Integration

apps/docs/content/docs/guides/ci-vendors/index.mdx

2.10.11.4 KB
Original Source

Turborepo not only speeds up builds, but also the rest of your Continuous Integration pipeline by using Remote Caching. Below are a few platform recipes to use Turborepo with your CI providers.

<Cards>

<Card title="Vercel (Zero configuration)" href="/docs/guides/ci-vendors/vercel" />

<Card title="GitHub Actions" href="/docs/guides/ci-vendors/github-actions" /> <Card title="CircleCI" href="/docs/guides/ci-vendors/circleci" /> <Card title="GitLab CI" href="/docs/guides/ci-vendors/gitlab-ci" /> <Card title="Travis CI" href="/docs/guides/ci-vendors/travis-ci" /> <Card title="Buildkite" href="/docs/guides/ci-vendors/buildkite" /> </Cards>

General Setup

To enable Remote Caching for your CI:

  1. Setup the environment variables for Turborepo in your CI to access your Remote Cache.
    VariableDescription
    TURBO_TOKENThe Bearer token to access the Remote Cache
    TURBO_TEAMThe account name associated with your repository. When using <a href="https://vercel.com/docs/monorepos/remote-caching#vercel-remote-cache" rel="noreferrer noopener" target="_blank">Vercel Remote Cache</a>, this is your team's slug.
  2. Clone your repository.
  3. Install your dependencies through your package manager.
  4. Run your tasks through turbo.