-
Couldn't load subscription status.
- Fork 29
Labels
Description
문제 상황
- FE 빌드가 의존성 오류로 인해 배포가 제대로 수행되지 않고 있다.
- Install Dependencies(
yarn)가 cache hit 여부와 상관없이 수행되고 있다.
개선할 내용
- cache hit 이 된 경우엔 Install Dependencies 단계를 건너뛰도록 하여 개선한다.
- Install Dependencies 수행 시
yarn대신yarn install --frozen-lockfile로 수행하도록 한다.
- name: Install dependencies
run: yarn --frozen-lockfile
# cache hit이 발생한 경우 (즉 package-lock.json이 변경되지 않은 경우)
# Install dependencies 실행은 skip 됩니다.
if: steps.cache.outputs.cache-hit != 'true'참고 자료
al-bur and solo5star
