Skip to content

Turborepo Remote Cache

Avrea provides a remote cache endpoint for Turborepo. Task outputs are cached so that unchanged packages skip builds entirely.

Turborepo environment variables are pre-configured:

Terminal window
TURBO_API="http://avrea-host:8290"
TURBO_TOKEN="unused"
TURBO_TEAM="team_avrea"

Your workflow needs no changes:

workflow.yml
jobs:
build:
runs-on: avrea-ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
- run: pnpm install --frozen-lockfile
- run: pnpm turbo build

Set the environment variables in your workflow:

env:
TURBO_API: "http://avrea-host:8290"
TURBO_TOKEN: "unused"
TURBO_TEAM: "team_avrea"

No changes to turbo.json are required.