Skip to content

ci: #17 PR CI / Codecov / OpenSSF Scorecard を追加 - #21

Merged
kohki-shikata merged 2 commits into
dev-v0.3.0from
cursor/ci-codecov-scaffold-ca05
Sep 5, 2026
Merged

kohki-shikata merged 2 commits into
dev-v0.3.0from
cursor/ci-codecov-scaffold-ca05

Conversation

@kohki-shikata

@kohki-shikata kohki-shikata commented Sep 5, 2026 •

Copy link
Copy Markdown
Member

Summary

Closes #17.

dev-v0.3.0 向けに、docs/ci-cd.md の実装順ステップ2(CIスキャフォールド)と、OpenSSF Scorecard を入れました。既存PR (#19 / #20) と同様に base は dev-v0.3.0 です。参考は jp-local-gov-id です。

  • .github/workflows/ci.yml — Gate → Test ‖ Build → 集約 Test & Build(base develop / dev-*)
  • codecov.yml — project/patch informational、PRコメントなし
  • .actrc + ci:local / ci:local:fallback
  • Dependabot — 週次 npm + github-actions(/scripts workspace なし)
  • Vitest — coverage/lcov.info を明示出力(Codecov パス)
  • .github/workflows/scorecard.yml — main push / 週次 cron / branch protection。SARIF アップロード + publish_results: true
  • docs/ci-cd.* — 該当項目を実装済みに更新

CodeQL は方針どおり次段のため本PRでは未着手です。Scorecard 本体の実行は main 取り込み後に発火します。

Test plan

  • npm test(41 passed、coverage/lcov.info 生成)
  • npm run build
  • Docker 無しのため npm run ci:local:fallback 相当
  • PR CI(初回コミット)成功
  • 本 push 後の PR CI(Test & Build)成功
  • base が dev-v0.3.0 であること
  • main マージ後に Scorecard が動くこと(必要なら Security → code scanning の許可)
Open in Web Open in Cursor 

cursoragent and others added 2 commits September 5, 2026 08:24
Add ci.yml (Gate → Test ‖ Build → Test & Build), codecov.yml,
.actrc, Dependabot, and ci:local scripts per docs/ci-cd.md.
Ensure Vitest emits coverage/lcov.info for Codecov upload.

Co-authored-by: Kohki SHIKATA <kohki-shikata@users.noreply.github.com>
Publish SARIF results on main pushes and weekly schedule,
matching jp-local-gov-id and docs/ci-cd.md.

Co-authored-by: Kohki SHIKATA <kohki-shikata@users.noreply.github.com>
@cursor cursor Bot changed the title ci: #17 PR CI と Codecov を追加 ci: #17 PR CI / Codecov / OpenSSF Scorecard を追加 Sep 5, 2026
@kohki-shikata
kohki-shikata marked this pull request as ready for review September 5, 2026 08:30
@kohki-shikata
kohki-shikata merged commit 9d5e3dc into dev-v0.3.0 Sep 5, 2026
5 checks passed
@kohki-shikata
kohki-shikata deleted the cursor/ci-codecov-scaffold-ca05 branch September 5, 2026 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants