Skip to content

Commit

Permalink
fix: 캐시 복원 실패했을 경우에만 yarn install 실행시키기
Browse files Browse the repository at this point in the history
  • Loading branch information
summersummerwhy committed Jan 21, 2025
1 parent 91aa8a8 commit 263ac03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,15 @@ jobs:

# 의존성 캐시 복원
- name: Restore Yarn dependencies
id: cache-deps
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}

# 의존성 설치
- name: Install dependencies
if: steps.cache-deps.outputs.cache-hit != 'true'
run: yarn install

# 테스트 실행
Expand Down

0 comments on commit 263ac03

Please sign in to comment.