/turbocache-action

Primary LanguageTypeScriptMIT LicenseMIT

turbocache-action status

Note: Requires a minimum version of turbo@1.9.0

Turbocache Action 🚀

Setup

  1. 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'
  1. 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