chore(actions): disable pnpm cache for macOS

This commit is contained in:
JellyBrick
2023-10-16 22:54:11 +09:00
committed by GitHub
parent 8bfe04bb50
commit 9a4e98063b

View File

@ -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