Skip to content

Commit

Permalink
fix: Write pnpm store path into github output file
Browse files Browse the repository at this point in the history
  • Loading branch information
fastner committed Jul 23, 2024
1 parent 068f953 commit b84406c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions-prod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
node-version: 20
- run: corepack enable
- run: pnpm store path
- run: pnpm store path > $GITHUB_OUTPUT
id: store-path
- name: Cache pnpm modules
id: cache-npm
Expand All @@ -28,7 +28,7 @@ jobs:
cache-name: cache-pnpm-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ${{ join(steps.store-path.outputs.*, '') }}
path: ${{ steps.store-path.outputs.*, '') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
Expand Down

0 comments on commit b84406c

Please sign in to comment.