Skip to content

Commit 0690266

Browse files
committed
Add destination to store pnpm files in GHA
1 parent a395ee1 commit 0690266

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/pre-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
- uses: pnpm/action-setup@v4
3434
with:
3535
package_json_file: "frontend/package.json"
36+
dest: ${{ runner.temp }}/setup-pnpm-${{ github.job }}-${{ github.run_id }}
3637
cache: "pnpm"
3738
cache-dependency-path: "frontend/pnpm-lock.yaml"
3839
- run: make lint-frontend
@@ -66,6 +67,7 @@ jobs:
6667
- uses: pnpm/action-setup@v4
6768
with:
6869
package_json_file: "frontend/package.json"
70+
dest: ${{ runner.temp }}/setup-pnpm-${{ github.job }}-${{ github.run_id }}
6971
cache: "pnpm"
7072
cache-dependency-path: "frontend/pnpm-lock.yaml"
7173
- run: make test-frontend
@@ -98,6 +100,7 @@ jobs:
98100
- uses: pnpm/action-setup@v4
99101
with:
100102
package_json_file: "frontend/package.json"
103+
dest: ${{ runner.temp }}/setup-pnpm-${{ github.job }}-${{ github.run_id }}
101104
cache: "pnpm"
102105
cache-dependency-path: "frontend/pnpm-lock.yaml"
103106
- run: make build-frontend

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
- uses: pnpm/action-setup@v4
101101
with:
102102
package_json_file: "frontend/package.json"
103+
dest: ${{ runner.temp }}/setup-pnpm-${{ github.job }}-${{ github.run_id }}
103104
cache: "pnpm"
104105
cache-dependency-path: "frontend/pnpm-lock.yaml"
105106

0 commit comments

Comments
 (0)