Skip to content

Commit be95e6a

Browse files
committed
fix: add pnpm store directory
1 parent f764354 commit be95e6a

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
with:
1818
node-version: '20'
1919
- uses: pnpm/action-setup@v2
20+
- name: Get pnpm store directory
21+
shell: bash
22+
run: |
23+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
2024
- name: Cache NPM dependencies
2125
uses: actions/cache@v3
2226
with:

.github/workflows/release.yml

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
with:
1616
node-version: '20'
1717
- uses: pnpm/action-setup@v2
18+
- name: Get pnpm store directory
19+
shell: bash
20+
run: |
21+
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
1822
- uses: actions/cache@v3
1923
name: Setup pnpm cache
2024
with:

0 commit comments

Comments
 (0)