Note: Requires a minimum version of turbo@1.9.0
- Add at the begging of your
workflow.yml
.
- uses: turbocache-build/turbocache-action@v1
env:
TURBO_API: 'https://cache.turbocache.build'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: 'team_ci'
- Update your build step to remove caching.
- name: Build
run: npm build
env:
TURBO_API: 'https://cache.turbocache.build'
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: 'team_ci'
TURBO_RUN_SUMMARY: true