Skip to content

Commit 9b4c4bb

Browse files
committed
ci: yarn 캐시 경로 및 의존성 설치 명령어 수정
- yarn 캐시 경로에 추가 디렉토리 포함 - yarn install 명령어에서 --immutable 옵션을 --no-immutable로 변경하여 설치 방식 개선
1 parent 3489819 commit 9b4c4bb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,21 @@ jobs:
3030

3131
- name: Cache yarn dependencies
3232
uses: actions/cache@v4
33+
id: yarn-cache
3334
with:
34-
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
35-
key: yarn-cache-${{ hashFiles('**/yarn.lock') }}
35+
path: |
36+
${{ steps.yarn-cache-dir-path.outputs.dir }}
37+
.yarn/cache
38+
.yarn/unplugged
39+
.yarn/build-state.yml
40+
.yarn/install-state.gz
41+
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3642
restore-keys: |
37-
yarn-cache-
43+
${{ runner.os }}-yarn-
3844
3945
- name: Install Dependencies
4046
run: |
41-
yarn install --immutable --inline-builds
47+
yarn install --no-immutable
4248
4349
- name: Build shared packages
4450
run: |

0 commit comments

Comments
 (0)