From c195987564dd4870ba612b1d746537835aa18114 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 16 May 2023 13:38:15 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20vercel=20cache=20for=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker.yml | 3 +++ .github/workflows/nextjs_bundle_analysis.yml | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 40b6216ae..a1c06e828 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,6 +19,9 @@ env: REGISTRY: ghcr.io # github.repository as / IMAGE_NAME: ${{ github.repository }} + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + jobs: # Push image to GitHub Packages. diff --git a/.github/workflows/nextjs_bundle_analysis.yml b/.github/workflows/nextjs_bundle_analysis.yml index 9f04bd67c..fa6c83361 100644 --- a/.github/workflows/nextjs_bundle_analysis.yml +++ b/.github/workflows/nextjs_bundle_analysis.yml @@ -15,6 +15,11 @@ defaults: # change this if your nextjs app does not live at the root of the repo working-directory: ./ +env: + TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} + TURBO_TEAM: ${{ secrets.TURBO_TEAM }} + + permissions: contents: read # for checkout repository actions: read # for fetching base branch bundle stats