project-auto-wizard 0.1.23 → 0.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/package.json +1 -1
- package/payload/scripts/__pycache__/changelog_manager.cpython-314.pyc +0 -0
- package/payload/scripts/__pycache__/version_manager.cpython-314.pyc +0 -0
- package/payload/workflows/common/PROJECT-COMMON-AI-PR-SUMMARY.yaml +1 -1
- package/payload/workflows/common/PROJECT-COMMON-AUTO-CHANGELOG-CONTROL.yaml +1 -1
- package/payload/workflows/common/PROJECT-COMMON-README-VERSION-UPDATE.yaml +1 -1
- package/payload/workflows/common/PROJECT-COMMON-RELEASE-PUBLISH.yaml +1 -1
- package/payload/workflows/common/PROJECT-COMMON-VERSION-CONTROL.yaml +1 -1
- package/payload/workflows/flutter/PROJECT-FLUTTER-ANDROID-FIREBASE-CICD.yaml +13 -13
- package/payload/workflows/flutter/PROJECT-FLUTTER-ANDROID-PLAYSTORE-CICD.yaml +13 -13
- package/payload/workflows/flutter/PROJECT-FLUTTER-ANDROID-SELFHOSTED-CICD.yaml +7 -7
- package/payload/workflows/flutter/PROJECT-FLUTTER-ANDROID-TEST-APK.yaml +14 -14
- package/payload/workflows/flutter/PROJECT-FLUTTER-CI.yaml +16 -16
- package/payload/workflows/flutter/PROJECT-FLUTTER-IOS-TEST-TESTFLIGHT.yaml +18 -18
- package/payload/workflows/flutter/PROJECT-FLUTTER-IOS-TESTFLIGHT.yaml +11 -11
- package/payload/workflows/flutter/PROJECT-FLUTTER-SUH-LAB-APP-BUILD-TRIGGER.yaml +9 -9
- package/payload/workflows/next/PROJECT-NEXT-CI.yaml +6 -6
- package/payload/workflows/next/PROJECT-NEXT-CICD.yaml +6 -6
- package/payload/workflows/python/PROJECT-PYTHON-CI.yaml +1 -1
- package/payload/workflows/python/PROJECT-PYTHON-PR-PREVIEW.yaml +27 -27
- package/payload/workflows/python/PROJECT-PYTHON-SIMPLE-CICD.yaml +1 -1
- package/payload/workflows/react/PROJECT-REACT-CI.yaml +6 -6
- package/payload/workflows/react/PROJECT-REACT-CICD.yaml +6 -6
- package/payload/workflows/spring/PROJECT-SPRING-GITHUB-PACKAGES-PUBLISH.yml +2 -2
- package/payload/workflows/spring/nexus/PROJECT-SPRING-NEXUS-CI.yml +5 -5
- package/payload/workflows/spring/nexus/PROJECT-SPRING-NEXUS-PUBLISH.yml +2 -2
- package/payload/workflows/spring/server-deploy/PROJECT-SPRING-NONSTOP-NGINX-CICD.yaml +3 -3
- package/payload/workflows/spring/server-deploy/PROJECT-SPRING-NONSTOP-TRAEFIK-CICD.yaml +3 -3
- package/payload/workflows/spring/server-deploy/PROJECT-SPRING-PR-PREVIEW.yaml +36 -36
- package/payload/workflows/spring/server-deploy/PROJECT-SPRING-SIMPLE-CICD.yaml +3 -3
|
@@ -82,7 +82,7 @@ jobs:
|
|
|
82
82
|
steps:
|
|
83
83
|
- name: 브랜치 존재 여부 사전 확인
|
|
84
84
|
id: verify_branch
|
|
85
|
-
uses: actions/github-script@
|
|
85
|
+
uses: actions/github-script@v9
|
|
86
86
|
with:
|
|
87
87
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
88
88
|
script: |
|
|
@@ -138,7 +138,7 @@ jobs:
|
|
|
138
138
|
id: progress
|
|
139
139
|
if: github.event.client_payload.pr_number != ''
|
|
140
140
|
continue-on-error: true
|
|
141
|
-
uses: actions/github-script@
|
|
141
|
+
uses: actions/github-script@v9
|
|
142
142
|
with:
|
|
143
143
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
144
144
|
script: |
|
|
@@ -203,7 +203,7 @@ jobs:
|
|
|
203
203
|
|
|
204
204
|
steps:
|
|
205
205
|
- name: Checkout repository
|
|
206
|
-
uses: actions/checkout@
|
|
206
|
+
uses: actions/checkout@v7
|
|
207
207
|
with:
|
|
208
208
|
fetch-depth: 0
|
|
209
209
|
ref: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.branch_name || github.ref }}
|
|
@@ -347,14 +347,14 @@ EOF
|
|
|
347
347
|
echo "----------------------------------------"
|
|
348
348
|
|
|
349
349
|
- name: Upload release notes
|
|
350
|
-
uses: actions/upload-artifact@
|
|
350
|
+
uses: actions/upload-artifact@v7
|
|
351
351
|
with:
|
|
352
352
|
name: release-notes
|
|
353
353
|
path: final_release_notes.txt
|
|
354
354
|
retention-days: 1
|
|
355
355
|
|
|
356
356
|
- name: Upload project files
|
|
357
|
-
uses: actions/upload-artifact@
|
|
357
|
+
uses: actions/upload-artifact@v7
|
|
358
358
|
with:
|
|
359
359
|
name: project-files
|
|
360
360
|
path: |
|
|
@@ -368,7 +368,7 @@ EOF
|
|
|
368
368
|
# 진행 상황 업데이트 - 준비 실패
|
|
369
369
|
- name: 진행 상황 업데이트 - 준비 실패
|
|
370
370
|
if: failure() && github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '' && needs.notify-start.outputs.comment_id != ''
|
|
371
|
-
uses: actions/github-script@
|
|
371
|
+
uses: actions/github-script@v9
|
|
372
372
|
with:
|
|
373
373
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
374
374
|
script: |
|
|
@@ -435,7 +435,7 @@ EOF
|
|
|
435
435
|
- name: 진행 상황 업데이트 - 준비 완료
|
|
436
436
|
id: progress_step1
|
|
437
437
|
if: github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '' && needs.notify-start.outputs.comment_id != ''
|
|
438
|
-
uses: actions/github-script@
|
|
438
|
+
uses: actions/github-script@v9
|
|
439
439
|
with:
|
|
440
440
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
441
441
|
script: |
|
|
@@ -485,7 +485,7 @@ EOF
|
|
|
485
485
|
core.setOutput('end_time', now.toString());
|
|
486
486
|
|
|
487
487
|
- name: Checkout repository
|
|
488
|
-
uses: actions/checkout@
|
|
488
|
+
uses: actions/checkout@v7
|
|
489
489
|
with:
|
|
490
490
|
fetch-depth: 0
|
|
491
491
|
ref: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.branch_name || github.ref }}
|
|
@@ -514,7 +514,7 @@ EOF
|
|
|
514
514
|
xcodebuild -downloadPlatform iOS
|
|
515
515
|
|
|
516
516
|
- name: Download project files
|
|
517
|
-
uses: actions/download-artifact@
|
|
517
|
+
uses: actions/download-artifact@v8
|
|
518
518
|
with:
|
|
519
519
|
name: project-files
|
|
520
520
|
path: .
|
|
@@ -535,7 +535,7 @@ EOF
|
|
|
535
535
|
cache: true
|
|
536
536
|
|
|
537
537
|
- name: Cache Flutter dependencies
|
|
538
|
-
uses: actions/cache@
|
|
538
|
+
uses: actions/cache@v6
|
|
539
539
|
with:
|
|
540
540
|
path: ~/.pub-cache
|
|
541
541
|
key: ${{ runner.os }}-flutter-pub-${{ hashFiles('**/pubspec.lock') }}
|
|
@@ -628,7 +628,7 @@ EOF
|
|
|
628
628
|
cat build-metadata.json
|
|
629
629
|
|
|
630
630
|
- name: Upload IPA artifact
|
|
631
|
-
uses: actions/upload-artifact@
|
|
631
|
+
uses: actions/upload-artifact@v7
|
|
632
632
|
with:
|
|
633
633
|
name: ios-ipa
|
|
634
634
|
path: |
|
|
@@ -640,7 +640,7 @@ EOF
|
|
|
640
640
|
- name: 진행 상황 업데이트 - IPA 빌드 완료
|
|
641
641
|
id: progress_step2
|
|
642
642
|
if: success() && github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '' && needs.notify-start.outputs.comment_id != ''
|
|
643
|
-
uses: actions/github-script@
|
|
643
|
+
uses: actions/github-script@v9
|
|
644
644
|
with:
|
|
645
645
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
646
646
|
script: |
|
|
@@ -695,7 +695,7 @@ EOF
|
|
|
695
695
|
# 빌드 실패 시 progress 댓글 업데이트
|
|
696
696
|
- name: 빌드 실패 시 progress 댓글 업데이트
|
|
697
697
|
if: failure() && github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '' && needs.notify-start.outputs.comment_id != ''
|
|
698
|
-
uses: actions/github-script@
|
|
698
|
+
uses: actions/github-script@v9
|
|
699
699
|
with:
|
|
700
700
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
701
701
|
script: |
|
|
@@ -763,7 +763,7 @@ EOF
|
|
|
763
763
|
|
|
764
764
|
steps:
|
|
765
765
|
- name: Checkout repository
|
|
766
|
-
uses: actions/checkout@
|
|
766
|
+
uses: actions/checkout@v7
|
|
767
767
|
with:
|
|
768
768
|
fetch-depth: 0
|
|
769
769
|
ref: ${{ github.event_name == 'repository_dispatch' && github.event.client_payload.branch_name || github.ref }}
|
|
@@ -777,13 +777,13 @@ EOF
|
|
|
777
777
|
echo "$API_KEY_BASE64" | base64 --decode > ~/.appstoreconnect/private_keys/AuthKey_${API_KEY_ID}.p8
|
|
778
778
|
|
|
779
779
|
- name: Download IPA artifact
|
|
780
|
-
uses: actions/download-artifact@
|
|
780
|
+
uses: actions/download-artifact@v8
|
|
781
781
|
with:
|
|
782
782
|
name: ios-ipa
|
|
783
783
|
path: ios/build/ipa/
|
|
784
784
|
|
|
785
785
|
- name: Download release notes
|
|
786
|
-
uses: actions/download-artifact@
|
|
786
|
+
uses: actions/download-artifact@v8
|
|
787
787
|
with:
|
|
788
788
|
name: release-notes
|
|
789
789
|
path: .
|
|
@@ -868,7 +868,7 @@ EOF
|
|
|
868
868
|
# 진행 상황 최종 업데이트 - 성공
|
|
869
869
|
- name: 진행 상황 최종 업데이트 - 성공
|
|
870
870
|
if: success() && github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '' && needs.notify-start.outputs.comment_id != ''
|
|
871
|
-
uses: actions/github-script@
|
|
871
|
+
uses: actions/github-script@v9
|
|
872
872
|
with:
|
|
873
873
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
874
874
|
script: |
|
|
@@ -931,7 +931,7 @@ EOF
|
|
|
931
931
|
# 진행 상황 최종 업데이트 - 실패
|
|
932
932
|
- name: 진행 상황 최종 업데이트 - 실패
|
|
933
933
|
if: failure() && github.event_name == 'repository_dispatch' && github.event.client_payload.pr_number != '' && needs.notify-start.outputs.comment_id != ''
|
|
934
|
-
uses: actions/github-script@
|
|
934
|
+
uses: actions/github-script@v9
|
|
935
935
|
with:
|
|
936
936
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
937
937
|
script: |
|
|
@@ -112,7 +112,7 @@ jobs:
|
|
|
112
112
|
|
|
113
113
|
steps:
|
|
114
114
|
- name: Checkout repository
|
|
115
|
-
uses: actions/checkout@
|
|
115
|
+
uses: actions/checkout@v7
|
|
116
116
|
with:
|
|
117
117
|
ref: main
|
|
118
118
|
fetch-depth: 0
|
|
@@ -147,7 +147,7 @@ jobs:
|
|
|
147
147
|
cache: true
|
|
148
148
|
|
|
149
149
|
- name: Cache Flutter dependencies
|
|
150
|
-
uses: actions/cache@
|
|
150
|
+
uses: actions/cache@v6
|
|
151
151
|
with:
|
|
152
152
|
path: ~/.pub-cache
|
|
153
153
|
key: ${{ runner.os }}-flutter-pub-${{ hashFiles('**/pubspec.lock') }}
|
|
@@ -202,14 +202,14 @@ jobs:
|
|
|
202
202
|
fi
|
|
203
203
|
|
|
204
204
|
- name: Upload release notes
|
|
205
|
-
uses: actions/upload-artifact@
|
|
205
|
+
uses: actions/upload-artifact@v7
|
|
206
206
|
with:
|
|
207
207
|
name: release-notes
|
|
208
208
|
path: final_release_notes.txt
|
|
209
209
|
retention-days: 1
|
|
210
210
|
|
|
211
211
|
- name: Upload project files
|
|
212
|
-
uses: actions/upload-artifact@
|
|
212
|
+
uses: actions/upload-artifact@v7
|
|
213
213
|
with:
|
|
214
214
|
name: project-files
|
|
215
215
|
path: |
|
|
@@ -233,7 +233,7 @@ jobs:
|
|
|
233
233
|
|
|
234
234
|
steps:
|
|
235
235
|
- name: Checkout repository
|
|
236
|
-
uses: actions/checkout@
|
|
236
|
+
uses: actions/checkout@v7
|
|
237
237
|
with:
|
|
238
238
|
ref: main
|
|
239
239
|
fetch-depth: 0
|
|
@@ -262,7 +262,7 @@ jobs:
|
|
|
262
262
|
xcodebuild -downloadPlatform iOS
|
|
263
263
|
|
|
264
264
|
- name: Download project files
|
|
265
|
-
uses: actions/download-artifact@
|
|
265
|
+
uses: actions/download-artifact@v8
|
|
266
266
|
with:
|
|
267
267
|
name: project-files
|
|
268
268
|
path: .
|
|
@@ -283,7 +283,7 @@ jobs:
|
|
|
283
283
|
cache: true
|
|
284
284
|
|
|
285
285
|
- name: Cache Flutter dependencies
|
|
286
|
-
uses: actions/cache@
|
|
286
|
+
uses: actions/cache@v6
|
|
287
287
|
with:
|
|
288
288
|
path: ~/.pub-cache
|
|
289
289
|
key: ${{ runner.os }}-flutter-pub-${{ hashFiles('**/pubspec.lock') }}
|
|
@@ -358,7 +358,7 @@ jobs:
|
|
|
358
358
|
-exportOptionsPlist ExportOptions.plist
|
|
359
359
|
|
|
360
360
|
- name: Upload IPA artifact
|
|
361
|
-
uses: actions/upload-artifact@
|
|
361
|
+
uses: actions/upload-artifact@v7
|
|
362
362
|
with:
|
|
363
363
|
name: ios-ipa
|
|
364
364
|
path: ${{ env.FLUTTER_ROOT }}/ios/build/ipa/*.ipa
|
|
@@ -377,7 +377,7 @@ jobs:
|
|
|
377
377
|
|
|
378
378
|
steps:
|
|
379
379
|
- name: Checkout repository
|
|
380
|
-
uses: actions/checkout@
|
|
380
|
+
uses: actions/checkout@v7
|
|
381
381
|
with:
|
|
382
382
|
ref: main
|
|
383
383
|
fetch-depth: 0
|
|
@@ -388,13 +388,13 @@ jobs:
|
|
|
388
388
|
echo "${{ secrets.APP_STORE_CONNECT_API_KEY_BASE64 }}" | base64 --decode > ~/.appstoreconnect/private_keys/AuthKey_${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}.p8
|
|
389
389
|
|
|
390
390
|
- name: Download IPA artifact
|
|
391
|
-
uses: actions/download-artifact@
|
|
391
|
+
uses: actions/download-artifact@v8
|
|
392
392
|
with:
|
|
393
393
|
name: ios-ipa
|
|
394
394
|
path: ${{ env.FLUTTER_ROOT }}/ios/build/ipa/
|
|
395
395
|
|
|
396
396
|
- name: Download release notes
|
|
397
|
-
uses: actions/download-artifact@
|
|
397
|
+
uses: actions/download-artifact@v8
|
|
398
398
|
with:
|
|
399
399
|
name: release-notes
|
|
400
400
|
path: .
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
|
|
56
56
|
steps:
|
|
57
57
|
- name: 댓글에 👀 리액션 추가
|
|
58
|
-
uses: actions/github-script@
|
|
58
|
+
uses: actions/github-script@v9
|
|
59
59
|
with:
|
|
60
60
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
61
61
|
script: |
|
|
@@ -72,7 +72,7 @@ jobs:
|
|
|
72
72
|
|
|
73
73
|
- name: 빌드 타입 판별
|
|
74
74
|
id: build_type
|
|
75
|
-
uses: actions/github-script@
|
|
75
|
+
uses: actions/github-script@v9
|
|
76
76
|
with:
|
|
77
77
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
78
78
|
script: |
|
|
@@ -129,7 +129,7 @@ jobs:
|
|
|
129
129
|
|
|
130
130
|
- name: PR/이슈 정보 확인 및 추출
|
|
131
131
|
id: source_info
|
|
132
|
-
uses: actions/github-script@
|
|
132
|
+
uses: actions/github-script@v9
|
|
133
133
|
env:
|
|
134
134
|
CUSTOM_BRANCH: ${{ steps.build_type.outputs.customBranch }}
|
|
135
135
|
with:
|
|
@@ -249,7 +249,7 @@ jobs:
|
|
|
249
249
|
|
|
250
250
|
- name: 브랜치 정보를 찾을 수 없는 경우 에러 댓글 작성
|
|
251
251
|
if: steps.source_info.outputs.found != 'true'
|
|
252
|
-
uses: actions/github-script@
|
|
252
|
+
uses: actions/github-script@v9
|
|
253
253
|
with:
|
|
254
254
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
255
255
|
script: |
|
|
@@ -278,7 +278,7 @@ jobs:
|
|
|
278
278
|
- name: 브랜치 존재 여부 확인
|
|
279
279
|
id: check_branch
|
|
280
280
|
if: steps.source_info.outputs.found == 'true'
|
|
281
|
-
uses: actions/github-script@
|
|
281
|
+
uses: actions/github-script@v9
|
|
282
282
|
with:
|
|
283
283
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
284
284
|
script: |
|
|
@@ -310,7 +310,7 @@ jobs:
|
|
|
310
310
|
|
|
311
311
|
- name: 브랜치가 존재하지 않는 경우 에러 댓글 작성
|
|
312
312
|
if: steps.source_info.outputs.found == 'true' && steps.check_branch.outputs.exists == 'false'
|
|
313
|
-
uses: actions/github-script@
|
|
313
|
+
uses: actions/github-script@v9
|
|
314
314
|
with:
|
|
315
315
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
316
316
|
script: |
|
|
@@ -347,7 +347,7 @@ jobs:
|
|
|
347
347
|
- name: 빌드 횟수 조회 및 빌드 번호 생성
|
|
348
348
|
id: build_number_calc
|
|
349
349
|
if: steps.source_info.outputs.found == 'true' && steps.check_branch.outputs.exists == 'true'
|
|
350
|
-
uses: actions/github-script@
|
|
350
|
+
uses: actions/github-script@v9
|
|
351
351
|
with:
|
|
352
352
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
353
353
|
script: |
|
|
@@ -420,7 +420,7 @@ jobs:
|
|
|
420
420
|
steps.source_info.outputs.found == 'true' &&
|
|
421
421
|
steps.check_branch.outputs.exists == 'true' &&
|
|
422
422
|
steps.build_type.outputs.buildAndroid == 'true'
|
|
423
|
-
uses: actions/github-script@
|
|
423
|
+
uses: actions/github-script@v9
|
|
424
424
|
with:
|
|
425
425
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
426
426
|
script: |
|
|
@@ -458,7 +458,7 @@ jobs:
|
|
|
458
458
|
steps.source_info.outputs.found == 'true' &&
|
|
459
459
|
steps.check_branch.outputs.exists == 'true' &&
|
|
460
460
|
steps.build_type.outputs.buildIos == 'true'
|
|
461
|
-
uses: actions/github-script@
|
|
461
|
+
uses: actions/github-script@v9
|
|
462
462
|
with:
|
|
463
463
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
464
464
|
script: |
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
steps:
|
|
52
52
|
# 1. 소스코드 체크아웃
|
|
53
53
|
- name: 코드 체크아웃
|
|
54
|
-
uses: actions/checkout@
|
|
54
|
+
uses: actions/checkout@v7
|
|
55
55
|
|
|
56
56
|
# 2. 환경변수 파일 생성
|
|
57
57
|
- name: 환경변수 파일 생성 (${{ env.ENV_FILE }})
|
|
@@ -61,14 +61,14 @@ jobs:
|
|
|
61
61
|
|
|
62
62
|
# 3. Node.js 설정
|
|
63
63
|
- name: Node.js 설정
|
|
64
|
-
uses: actions/setup-node@
|
|
64
|
+
uses: actions/setup-node@v7
|
|
65
65
|
with:
|
|
66
66
|
node-version: ${{ env.NODE_VERSION }}
|
|
67
67
|
cache: "npm"
|
|
68
68
|
|
|
69
69
|
# 4. npm 의존성 캐싱
|
|
70
70
|
- name: npm 의존성 캐싱
|
|
71
|
-
uses: actions/cache@
|
|
71
|
+
uses: actions/cache@v6
|
|
72
72
|
with:
|
|
73
73
|
path: ~/.npm
|
|
74
74
|
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
|
@@ -78,7 +78,7 @@ jobs:
|
|
|
78
78
|
# 5. node_modules 캐싱
|
|
79
79
|
- name: node_modules 캐싱
|
|
80
80
|
id: node-modules-cache
|
|
81
|
-
uses: actions/cache@
|
|
81
|
+
uses: actions/cache@v6
|
|
82
82
|
with:
|
|
83
83
|
path: "**/node_modules"
|
|
84
84
|
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
|
|
@@ -96,7 +96,7 @@ jobs:
|
|
|
96
96
|
# 7. Next.js 빌드 캐싱 (.next/cache)
|
|
97
97
|
# 증분 빌드를 위해 .next/cache 폴더를 캐싱합니다
|
|
98
98
|
- name: Next.js 빌드 캐싱
|
|
99
|
-
uses: actions/cache@
|
|
99
|
+
uses: actions/cache@v6
|
|
100
100
|
with:
|
|
101
101
|
path: .next/cache
|
|
102
102
|
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
|
@@ -156,7 +156,7 @@ jobs:
|
|
|
156
156
|
# 10. 빌드 로그 아티팩트 업로드
|
|
157
157
|
- name: 빌드 로그 업로드
|
|
158
158
|
if: always()
|
|
159
|
-
uses: actions/upload-artifact@
|
|
159
|
+
uses: actions/upload-artifact@v7
|
|
160
160
|
with:
|
|
161
161
|
name: build-log
|
|
162
162
|
path: build_log.txt
|
|
@@ -41,11 +41,11 @@ jobs:
|
|
|
41
41
|
steps:
|
|
42
42
|
# 1. 소스코드 체크아웃
|
|
43
43
|
- name: 코드 체크아웃
|
|
44
|
-
uses: actions/checkout@
|
|
44
|
+
uses: actions/checkout@v7
|
|
45
45
|
|
|
46
46
|
# 2. Node.js 개발 환경 설정
|
|
47
47
|
- name: Node.js 설정
|
|
48
|
-
uses: actions/setup-node@
|
|
48
|
+
uses: actions/setup-node@v7
|
|
49
49
|
with:
|
|
50
50
|
node-version: ${{ env.NODE_VERSION }}
|
|
51
51
|
cache: 'npm'
|
|
@@ -60,7 +60,7 @@ jobs:
|
|
|
60
60
|
|
|
61
61
|
# 4. npm 의존성 캐싱
|
|
62
62
|
- name: npm 의존성 캐싱
|
|
63
|
-
uses: actions/cache@
|
|
63
|
+
uses: actions/cache@v6
|
|
64
64
|
with:
|
|
65
65
|
path: ~/.npm
|
|
66
66
|
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
|
|
@@ -70,7 +70,7 @@ jobs:
|
|
|
70
70
|
# 5. node_modules 캐싱
|
|
71
71
|
- name: node_modules 캐싱
|
|
72
72
|
id: node-modules-cache
|
|
73
|
-
uses: actions/cache@
|
|
73
|
+
uses: actions/cache@v6
|
|
74
74
|
with:
|
|
75
75
|
path: "**/node_modules"
|
|
76
76
|
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
|
|
@@ -84,7 +84,7 @@ jobs:
|
|
|
84
84
|
|
|
85
85
|
# 7. Next.js 빌드 캐싱 (.next/cache)
|
|
86
86
|
- name: Next.js 빌드 캐싱
|
|
87
|
-
uses: actions/cache@
|
|
87
|
+
uses: actions/cache@v6
|
|
88
88
|
with:
|
|
89
89
|
path: .next/cache
|
|
90
90
|
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
|
|
@@ -109,7 +109,7 @@ jobs:
|
|
|
109
109
|
|
|
110
110
|
# 11. Docker 레이어 캐싱
|
|
111
111
|
- name: Cache Docker layers
|
|
112
|
-
uses: actions/cache@
|
|
112
|
+
uses: actions/cache@v6
|
|
113
113
|
with:
|
|
114
114
|
path: /tmp/.buildx-cache
|
|
115
115
|
key: ${{ runner.os }}-buildx-${{ hashFiles('Dockerfile') }}-${{ hashFiles('package-lock.json') }}
|
|
@@ -115,7 +115,7 @@ jobs:
|
|
|
115
115
|
steps:
|
|
116
116
|
- name: 댓글에 👀 리액션 추가
|
|
117
117
|
if: contains(github.event.comment.body, '@suh-lab') && contains(github.event.comment.body, 'server')
|
|
118
|
-
uses: actions/github-script@
|
|
118
|
+
uses: actions/github-script@v9
|
|
119
119
|
with:
|
|
120
120
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
121
121
|
script: |
|
|
@@ -196,7 +196,7 @@ jobs:
|
|
|
196
196
|
steps:
|
|
197
197
|
- name: PR 정보 가져오기
|
|
198
198
|
id: pr
|
|
199
|
-
uses: actions/github-script@
|
|
199
|
+
uses: actions/github-script@v9
|
|
200
200
|
with:
|
|
201
201
|
script: |
|
|
202
202
|
const pr = await github.rest.pulls.get({
|
|
@@ -213,7 +213,7 @@ jobs:
|
|
|
213
213
|
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
214
214
|
- name: 진행 상황 댓글 생성
|
|
215
215
|
id: progress
|
|
216
|
-
uses: actions/github-script@
|
|
216
|
+
uses: actions/github-script@v9
|
|
217
217
|
with:
|
|
218
218
|
script: |
|
|
219
219
|
const prNumber = context.issue.number;
|
|
@@ -246,7 +246,7 @@ jobs:
|
|
|
246
246
|
core.setOutput('docker_start', startTime);
|
|
247
247
|
|
|
248
248
|
- name: 코드 체크아웃
|
|
249
|
-
uses: actions/checkout@
|
|
249
|
+
uses: actions/checkout@v7
|
|
250
250
|
with:
|
|
251
251
|
ref: ${{ steps.pr.outputs.ref }}
|
|
252
252
|
|
|
@@ -283,7 +283,7 @@ jobs:
|
|
|
283
283
|
|
|
284
284
|
- name: 진행 상황 - Docker 완료
|
|
285
285
|
id: docker_progress
|
|
286
|
-
uses: actions/github-script@
|
|
286
|
+
uses: actions/github-script@v9
|
|
287
287
|
with:
|
|
288
288
|
script: |
|
|
289
289
|
const commentId = ${{ steps.progress.outputs.comment_id }};
|
|
@@ -469,7 +469,7 @@ jobs:
|
|
|
469
469
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
470
470
|
|
|
471
471
|
- name: 배포 완료 코멘트
|
|
472
|
-
uses: actions/github-script@
|
|
472
|
+
uses: actions/github-script@v9
|
|
473
473
|
with:
|
|
474
474
|
script: |
|
|
475
475
|
const commentId = ${{ steps.progress.outputs.comment_id }};
|
|
@@ -545,7 +545,7 @@ jobs:
|
|
|
545
545
|
|
|
546
546
|
- name: 빌드/배포 실패 시 에러 코멘트
|
|
547
547
|
if: failure()
|
|
548
|
-
uses: actions/github-script@
|
|
548
|
+
uses: actions/github-script@v9
|
|
549
549
|
with:
|
|
550
550
|
script: |
|
|
551
551
|
const commentId = ${{ steps.progress.outputs.comment_id || 0 }};
|
|
@@ -634,7 +634,7 @@ jobs:
|
|
|
634
634
|
steps:
|
|
635
635
|
- name: Issue 댓글에서 브랜치명 추출
|
|
636
636
|
id: extract
|
|
637
|
-
uses: actions/github-script@
|
|
637
|
+
uses: actions/github-script@v9
|
|
638
638
|
with:
|
|
639
639
|
script: |
|
|
640
640
|
const issueNumber = context.issue.number;
|
|
@@ -676,7 +676,7 @@ jobs:
|
|
|
676
676
|
|
|
677
677
|
- name: 브랜치 없음 알림
|
|
678
678
|
if: steps.extract.outputs.found == 'false'
|
|
679
|
-
uses: actions/github-script@
|
|
679
|
+
uses: actions/github-script@v9
|
|
680
680
|
with:
|
|
681
681
|
script: |
|
|
682
682
|
const issueNumber = context.issue.number;
|
|
@@ -722,7 +722,7 @@ jobs:
|
|
|
722
722
|
steps:
|
|
723
723
|
- name: 브랜치 존재 확인
|
|
724
724
|
id: check_branch
|
|
725
|
-
uses: actions/github-script@
|
|
725
|
+
uses: actions/github-script@v9
|
|
726
726
|
with:
|
|
727
727
|
script: |
|
|
728
728
|
const branchName = '${{ needs.get-branch-from-issue.outputs.branch_name }}';
|
|
@@ -793,7 +793,7 @@ jobs:
|
|
|
793
793
|
- name: 진행 상황 댓글 생성
|
|
794
794
|
if: steps.check_branch.outputs.exists == 'true'
|
|
795
795
|
id: progress
|
|
796
|
-
uses: actions/github-script@
|
|
796
|
+
uses: actions/github-script@v9
|
|
797
797
|
with:
|
|
798
798
|
script: |
|
|
799
799
|
const issueNumber = ${{ needs.get-branch-from-issue.outputs.issue_number }};
|
|
@@ -830,7 +830,7 @@ jobs:
|
|
|
830
830
|
|
|
831
831
|
- name: 코드 체크아웃
|
|
832
832
|
if: steps.check_branch.outputs.exists == 'true'
|
|
833
|
-
uses: actions/checkout@
|
|
833
|
+
uses: actions/checkout@v7
|
|
834
834
|
with:
|
|
835
835
|
ref: ${{ needs.get-branch-from-issue.outputs.branch_name }}
|
|
836
836
|
|
|
@@ -872,7 +872,7 @@ jobs:
|
|
|
872
872
|
- name: 진행 상황 - Docker 완료
|
|
873
873
|
if: steps.check_branch.outputs.exists == 'true'
|
|
874
874
|
id: docker_progress
|
|
875
|
-
uses: actions/github-script@
|
|
875
|
+
uses: actions/github-script@v9
|
|
876
876
|
with:
|
|
877
877
|
script: |
|
|
878
878
|
const commentId = ${{ steps.progress.outputs.comment_id }};
|
|
@@ -1063,7 +1063,7 @@ jobs:
|
|
|
1063
1063
|
|
|
1064
1064
|
- name: 배포 완료 코멘트
|
|
1065
1065
|
if: steps.check_branch.outputs.exists == 'true'
|
|
1066
|
-
uses: actions/github-script@
|
|
1066
|
+
uses: actions/github-script@v9
|
|
1067
1067
|
with:
|
|
1068
1068
|
script: |
|
|
1069
1069
|
const commentId = ${{ steps.progress.outputs.comment_id }};
|
|
@@ -1141,7 +1141,7 @@ jobs:
|
|
|
1141
1141
|
|
|
1142
1142
|
- name: 빌드/배포 실패 시 에러 코멘트
|
|
1143
1143
|
if: failure() && steps.check_branch.outputs.exists == 'true'
|
|
1144
|
-
uses: actions/github-script@
|
|
1144
|
+
uses: actions/github-script@v9
|
|
1145
1145
|
with:
|
|
1146
1146
|
script: |
|
|
1147
1147
|
const commentId = ${{ steps.progress.outputs.comment_id || 0 }};
|
|
@@ -1287,7 +1287,7 @@ jobs:
|
|
|
1287
1287
|
github.event_name == 'issue_comment' ||
|
|
1288
1288
|
(github.event_name == 'pull_request' && github.event.action == 'closed') ||
|
|
1289
1289
|
(github.event_name == 'issues' && github.event.action == 'closed')
|
|
1290
|
-
uses: actions/github-script@
|
|
1290
|
+
uses: actions/github-script@v9
|
|
1291
1291
|
with:
|
|
1292
1292
|
script: |
|
|
1293
1293
|
const number = ${{ steps.pr_number.outputs.number }};
|
|
@@ -1373,7 +1373,7 @@ jobs:
|
|
|
1373
1373
|
docker ps --filter "name=${CONTAINER_NAME}" --format "{{.Names}}" | grep -q "${CONTAINER_NAME}"
|
|
1374
1374
|
|
|
1375
1375
|
- name: 상태 코멘트 작성
|
|
1376
|
-
uses: actions/github-script@
|
|
1376
|
+
uses: actions/github-script@v9
|
|
1377
1377
|
with:
|
|
1378
1378
|
script: |
|
|
1379
1379
|
const number = context.issue.number;
|
|
@@ -1443,7 +1443,7 @@ jobs:
|
|
|
1443
1443
|
steps:
|
|
1444
1444
|
- name: 브랜치 존재 확인 및 정보 추출
|
|
1445
1445
|
id: branch_info
|
|
1446
|
-
uses: actions/github-script@
|
|
1446
|
+
uses: actions/github-script@v9
|
|
1447
1447
|
with:
|
|
1448
1448
|
script: |
|
|
1449
1449
|
const branchName = '${{ needs.check-command.outputs.custom_branch }}';
|
|
@@ -1529,7 +1529,7 @@ jobs:
|
|
|
1529
1529
|
- name: 진행 상황 댓글 생성
|
|
1530
1530
|
if: steps.branch_info.outputs.branch_exists == 'true'
|
|
1531
1531
|
id: progress
|
|
1532
|
-
uses: actions/github-script@
|
|
1532
|
+
uses: actions/github-script@v9
|
|
1533
1533
|
with:
|
|
1534
1534
|
script: |
|
|
1535
1535
|
const issueNumber = context.issue.number;
|
|
@@ -1566,7 +1566,7 @@ jobs:
|
|
|
1566
1566
|
|
|
1567
1567
|
- name: 코드 체크아웃
|
|
1568
1568
|
if: steps.branch_info.outputs.branch_exists == 'true'
|
|
1569
|
-
uses: actions/checkout@
|
|
1569
|
+
uses: actions/checkout@v7
|
|
1570
1570
|
with:
|
|
1571
1571
|
ref: ${{ needs.check-command.outputs.custom_branch }}
|
|
1572
1572
|
|
|
@@ -1615,7 +1615,7 @@ jobs:
|
|
|
1615
1615
|
- name: 진행 상황 - Docker 완료
|
|
1616
1616
|
if: steps.branch_info.outputs.branch_exists == 'true'
|
|
1617
1617
|
id: docker_progress
|
|
1618
|
-
uses: actions/github-script@
|
|
1618
|
+
uses: actions/github-script@v9
|
|
1619
1619
|
with:
|
|
1620
1620
|
script: |
|
|
1621
1621
|
const commentId = ${{ steps.progress.outputs.comment_id }};
|
|
@@ -1798,7 +1798,7 @@ jobs:
|
|
|
1798
1798
|
|
|
1799
1799
|
- name: 배포 완료 코멘트
|
|
1800
1800
|
if: steps.branch_info.outputs.branch_exists == 'true'
|
|
1801
|
-
uses: actions/github-script@
|
|
1801
|
+
uses: actions/github-script@v9
|
|
1802
1802
|
with:
|
|
1803
1803
|
script: |
|
|
1804
1804
|
const commentId = ${{ steps.progress.outputs.comment_id }};
|
|
@@ -1876,7 +1876,7 @@ jobs:
|
|
|
1876
1876
|
|
|
1877
1877
|
- name: 빌드/배포 실패 시 에러 코멘트
|
|
1878
1878
|
if: failure() && steps.branch_info.outputs.branch_exists == 'true'
|
|
1879
|
-
uses: actions/github-script@
|
|
1879
|
+
uses: actions/github-script@v9
|
|
1880
1880
|
with:
|
|
1881
1881
|
script: |
|
|
1882
1882
|
const commentId = ${{ steps.progress.outputs.comment_id || 0 }};
|
|
@@ -1956,7 +1956,7 @@ jobs:
|
|
|
1956
1956
|
steps:
|
|
1957
1957
|
- name: 브랜치명에서 컨테이너 정보 추출
|
|
1958
1958
|
id: container_info
|
|
1959
|
-
uses: actions/github-script@
|
|
1959
|
+
uses: actions/github-script@v9
|
|
1960
1960
|
with:
|
|
1961
1961
|
script: |
|
|
1962
1962
|
const branchName = '${{ needs.check-command.outputs.custom_branch }}';
|
|
@@ -2035,7 +2035,7 @@ jobs:
|
|
|
2035
2035
|
echo "✅ 삭제 완료!"
|
|
2036
2036
|
|
|
2037
2037
|
- name: 삭제 완료 코멘트
|
|
2038
|
-
uses: actions/github-script@
|
|
2038
|
+
uses: actions/github-script@v9
|
|
2039
2039
|
with:
|
|
2040
2040
|
script: |
|
|
2041
2041
|
const branchName = '${{ needs.check-command.outputs.custom_branch }}';
|
|
@@ -2077,7 +2077,7 @@ jobs:
|
|
|
2077
2077
|
steps:
|
|
2078
2078
|
- name: 브랜치명에서 컨테이너 정보 추출
|
|
2079
2079
|
id: container_info
|
|
2080
|
-
uses: actions/github-script@
|
|
2080
|
+
uses: actions/github-script@v9
|
|
2081
2081
|
with:
|
|
2082
2082
|
script: |
|
|
2083
2083
|
const branchName = '${{ needs.check-command.outputs.custom_branch }}';
|
|
@@ -2134,7 +2134,7 @@ jobs:
|
|
|
2134
2134
|
fi
|
|
2135
2135
|
|
|
2136
2136
|
- name: 상태 코멘트 작성
|
|
2137
|
-
uses: actions/github-script@
|
|
2137
|
+
uses: actions/github-script@v9
|
|
2138
2138
|
with:
|
|
2139
2139
|
script: |
|
|
2140
2140
|
const branchName = '${{ needs.check-command.outputs.custom_branch }}';
|