Skip to content

Commit

Permalink
Enable remote cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Feb 15, 2025
1 parent c40d548 commit ee9284c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,16 @@ on:
jobs:
build:
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- uses: actions/cache@v4
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
Expand Down
5 changes: 2 additions & 3 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,19 @@
"$schema": "https://turbo.build/schema.json",
"tasks": {
"dev": {
"cache": false,
"persistent": true
},
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"!.next/cache/**",
".next/**",
"dist/**",
"pkg/**",
"target/**"
],
"cache": false
]
}
}
}

0 comments on commit ee9284c

Please sign in to comment.