ci: 무결성 검증 통합(권장 플로우)
Auto PR / open-pr (push) Successful in 16s
Auto Label PR / add-automerge-label (pull_request) Successful in 6s
CI / test (pull_request) Successful in 1m13s

- scripts/make-verify-json.js: 산출물 폴더 → extras/assets JSON 생성
- scripts/verify.js: JSON 입력으로 무결성 검증(종료코드 반영)
- package.json: verify 스크립트 추가
- .gitea/workflows/ci.yml: ./artifacts/export 존재 시 검증 스텝 실행
This commit is contained in:
2025-11-16 20:52:18 +09:00
parent 86155c9fd3
commit e32d59ca44
6 changed files with 270 additions and 1 deletions
+12
View File
@@ -43,6 +43,18 @@ jobs:
if-no-files-found: ignore
retention-days: 3
- name: Verify bundle integrity (optional)
run: |
set -euo pipefail
if [ -d ./artifacts/export ]; then
echo "Found ./artifacts/export; generating verify inputs"
npm run verify:make-json
echo "Running verify CLI"
npm run verify:run
else
echo "No ./artifacts/export; skipping integrity verification"
fi
- name: Auto-merge PR on green
if: ${{ github.event_name == 'pull_request' }}
env: