From d2c481949d77427c4f7ce5173ff57ae3d17194d9 Mon Sep 17 00:00:00 2001 From: Lachie Date: Fri, 13 Sep 2024 09:41:46 +1000 Subject: [PATCH] ci(repo): use vercel remote cache for turbo --- .github/workflows/build-release-electron.yml | 10 ++-------- .github/workflows/pull-request.yml | 10 ++-------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build-release-electron.yml b/.github/workflows/build-release-electron.yml index cc666119..88faa463 100644 --- a/.github/workflows/build-release-electron.yml +++ b/.github/workflows/build-release-electron.yml @@ -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: @@ -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: diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index d3576eab..55505e9b 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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: