diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8b7e580..24b52c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -41,7 +41,21 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + + - uses: pnpm/action-setup@v4 + with: + version: 8.15.8 + run_install: false + standalone: true + dest: ~/setup-pnpm + + - name: Cache pnpm modules + uses: actions/cache@v4 + with: + path: ~/.pnpm-store + key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.node }}-node- - name: Install dependencies run: pnpm i