From 72b385c6b78a82d86c7b8870efcfe33f4bade65c Mon Sep 17 00:00:00 2001 From: jkomyno Date: Mon, 16 Sep 2024 12:41:13 +0200 Subject: [PATCH] fix(ci): fix pnpm setup --- .github/workflows/ci.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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