File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 22
33on :
44 pull_request :
5- branches : [develop, main] # PR이 develop이나 main으로 갈 때만 동작
5+ branches : [develop, main]
66
77jobs :
88 build :
@@ -16,16 +16,28 @@ jobs:
1616 uses : actions/setup-node@v3
1717 with :
1818 node-version : 18
19- cache : yarn
2019
2120 - name : Enable Corepack
2221 run : corepack enable
2322
24- - name : Prepare Yarn version
23+ - name : Prepare Yarn 4
2524 run :
corepack prepare [email protected] --activate 2625
26+ # Optional: 캐시 수동 설정
27+ - name : Cache Yarn
28+ uses : actions/cache@v3
29+ with :
30+ path : |
31+ .yarn/cache
32+ .yarn/unplugged
33+ .yarn/install-state.gz
34+ .pnp.*
35+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
36+ restore-keys : |
37+ ${{ runner.os }}-yarn-
38+
2739 - name : Install dependencies
28- run : yarn install --frozen-lockfile
40+ run : yarn install --immutable
2941
3042 - name : Type check
3143 run : yarn tsc --noEmit
You can’t perform that action at this time.
0 commit comments