From 9a9419f1facc0972e10cf6d079025e5ee8007d88 Mon Sep 17 00:00:00 2001 From: Dougal Graham Date: Sat, 23 Dec 2023 22:29:50 +0700 Subject: [PATCH] fix: add pnpm store directory --- .github/workflows/ci.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2bb584..b055d96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,10 @@ jobs: with: node-version: '20' - uses: pnpm/action-setup@v2 + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Cache NPM dependencies uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb1399c..6e76e60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,10 @@ jobs: with: node-version: '20' - uses: pnpm/action-setup@v2 + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - uses: actions/cache@v3 name: Setup pnpm cache with: