Skip to content

Commit

Permalink
fix: add pnpm store directory
Browse files Browse the repository at this point in the history
  • Loading branch information
dougalg committed Dec 23, 2023
1 parent 8548064 commit 9a9419f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9a9419f

Please sign in to comment.