Skip to content

Commit b5a320d

Browse files
committed
fix: 루트 의존성 설치 CI 추가
1 parent cc66e97 commit b5a320d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci-pipeline.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,19 @@ jobs:
134134
uses: actions/setup-node@v3
135135
with:
136136
node-version: "23"
137+
# 루트 의존성 캐시 설정
138+
- name: Cache Yarn dependencies for root
139+
id: cache-root-deps
140+
uses: actions/cache@v3
141+
with:
142+
path: node_modules
143+
key: ${{ runner.os }}-root-yarn-${{ hashFiles('yarn.lock') }}
137144

145+
# 루트 의존성 설치
146+
- name: Install root dependencies
147+
if: steps.cache-root-deps.outputs.cache-hit != 'true'
148+
run: yarn install
149+
138150
# 백엔드 의존성 캐시 복원
139151
- name: Restore Yarn dependencies for backend
140152
uses: actions/cache@v3

0 commit comments

Comments
 (0)