diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f417081c0..d6884d455 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,16 +20,21 @@ jobs: with: fetch-depth: 2 - - name: Setup pnpm - uses: pnpm/action-setup@v4 + - name: Install pnpm + uses: pnpm/action-setup@v2 with: - version: 9 + version: 9.15.0 - name: Setup Node.js uses: useblacksmith/setup-node@v5 with: node-version: 22 cache: 'pnpm' + + - name: Get pnpm store directory + shell: bash + run: | + echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - name: Mount node_modules sticky disk uses: useblacksmith/stickydisk@v1 @@ -41,7 +46,7 @@ jobs: uses: useblacksmith/stickydisk@v1 with: key: ${{ github.repository }}-pnpm-store - path: ~/.local/share/pnpm/store + path: ${{ env.STORE_PATH }} - name: Mount Turbo cache sticky disk uses: useblacksmith/stickydisk@v1