Skip to content

Commit

Permalink
fix(ci): fix pnpm setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jkomyno committed Sep 16, 2024
1 parent ad82e5e commit 72b385c
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72b385c

Please sign in to comment.