Skip to content

Commit 047d61f

Browse files
committed
#351 feat(fe): pnpm 경로 추가
1 parent 33b7891 commit 047d61f

1 file changed

Lines changed: 7 additions & 12 deletions

File tree

.github/workflows/fe-ci.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
timeout-minutes: 10
2525
env:
2626
TZ: Asia/Seoul
27+
PNPM_STORE: /home/runner/setup-pnpm/node_modules/.bin/store/v3
2728
strategy:
2829
matrix:
2930
task: [lint, test]
@@ -43,21 +44,14 @@ jobs:
4344
cache: 'pnpm'
4445
cache-dependency-path: 'src/frontend/pnpm-lock.yaml'
4546

46-
- name: Ensure caching directories exist
47-
run: |
48-
mkdir -p ~/.pnpm-store
49-
50-
- name: Get PNPM Store Path
51-
id: get-pnpm-store
52-
run: |
53-
PNPM_STORE=$(pnpm store path --silent)
54-
echo "PNPM_STORE=$PNPM_STORE" >> $GITHUB_ENV
55-
echo "PNPM_STORE is: $PNPM_STORE"
47+
# - name: Ensure caching directories exist
48+
# run: |
49+
# mkdir -p ~/.pnpm-store
5650

5751
- name: Restore pnpm store cache
5852
uses: actions/cache@v4
5953
with:
60-
path: /home/runner/setup-pnpm/node_modules/.pnpm-store
54+
path: ${{ env.PNPM_STORE }}
6155
key: ${{ runner.os }}-pnpm-${{ hashFiles('src/frontend/pnpm-lock.yaml') }}
6256
restore-keys: |
6357
${{ runner.os }}-pnpm-
@@ -92,6 +86,7 @@ jobs:
9286
timeout-minutes: 10
9387
env:
9488
TZ: Asia/Seoul
89+
PNPM_STORE: /home/runner/setup-pnpm/node_modules/.bin/store/v3
9590
strategy:
9691
matrix:
9792
package: ['web', '@workspace/ui']
@@ -115,7 +110,7 @@ jobs:
115110
- name: Restore pnpm store cache
116111
uses: actions/cache@v4
117112
with:
118-
path: ~/.pnpm-store
113+
path: ${{ env.PNPM_STORE }}
119114
key: ${{ runner.os }}-pnpm-${{ hashFiles('src/frontend/pnpm-lock.yaml') }}
120115
restore-keys: |
121116
${{ runner.os }}-pnpm-

0 commit comments

Comments
 (0)