diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5dca3c04..d486a400 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,11 +46,10 @@ jobs: uses: actions/cache@v3 id: cache with: - path: | - ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | - ${{ runner.os }}-node- + ${{ runner.os }}-pnpm-store- - name: Install dependencies run: pnpm i @@ -109,11 +108,10 @@ jobs: uses: actions/cache@v3 id: cache with: - path: | - ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} restore-keys: | - ${{ runner.os }}-node- + ${{ runner.os }}-pnpm-store- - name: Install dependencies run: pnpm i