From 9a4e98063bfbbfaca85cb78eab4747701793a8af Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Mon, 16 Oct 2023 22:54:11 +0900 Subject: [PATCH] chore(actions): disable pnpm cache for macOS --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9456e9db..17a563af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,11 +27,18 @@ jobs: run_install: false - name: Setup NodeJS + if: startsWith(matrix.os, 'macOS') != true && github.repository != 'th-ch/youtube-music' uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} cache: 'pnpm' + - name: Setup NodeJS for macOS + if: startsWith(matrix.os, 'macOS') && github.repository != 'th-ch/youtube-music' + uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_VERSION }} + - name: Install dependencies run: pnpm install --frozen-lockfile @@ -97,11 +104,18 @@ jobs: run_install: false - name: Setup NodeJS + if: startsWith(matrix.os, 'macOS') != true && github.repository != 'th-ch/youtube-music' uses: actions/setup-node@v3 with: node-version: ${{ env.NODE_VERSION }} cache: 'pnpm' + - name: Setup NodeJS for macOS + if: startsWith(matrix.os, 'macOS') && github.repository != 'th-ch/youtube-music' + uses: actions/setup-node@v3 + with: + node-version: ${{ env.NODE_VERSION }} + - name: Install dependencies run: pnpm install --frozen-lockfile