Skip to content

Commit 5525c7d

Browse files
authored
Chore: CI 캐싱 key 충돌 수정 (#326)
1 parent 54d8ef6 commit 5525c7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v3
20+
2021
- name: Use node.js ${{ matrix.node-version }}
2122
uses: actions/setup-node@v3
2223
with:
@@ -25,10 +26,10 @@ jobs:
2526
- name: Cache dependencies
2627
id: cache
2728
uses: actions/cache@v3
28-
if: runner.os != 'Windows'
29+
if: runner.os != 'Windows' # 윈도우는 이슈가 있어 캐싱 건너 뜀 (#325 참고)
2930
with:
3031
path: '**/node_modules'
31-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
32+
key: ${{ matrix.os }}-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
3233

3334
- name: Install Dependencies
3435
if: steps.cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)