Skip to content

Commit

Permalink
ci(repo): use vercel remote cache for turbo
Browse files Browse the repository at this point in the history
  • Loading branch information
bambanah committed Sep 12, 2024
1 parent 44510fd commit d2c4819
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-release-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
HUSKY: 0
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}

jobs:
build-release-electron:
Expand All @@ -30,14 +32,6 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ github.job }}
restore-keys: |
turbo-${{ runner.os }}-
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,14 @@ on:

env:
HUSKY: 0
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache turbo
uses: actions/cache@v4
with:
path: .turbo
key: turbo-${{ runner.os }}-${{ github.job }}
restore-keys: |
turbo-${{ runner.os }}-
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
Expand Down

0 comments on commit d2c4819

Please sign in to comment.