Skip to content

CIのテスト構成整理とnpm公開ワークフローのOIDC移行 - #260

Merged
deflis merged 3 commits into
masterfrom
codex/modernize-ci
Nov 1, 2026
Merged

deflis merged 3 commits into
masterfrom
codex/modernize-ci

Conversation

@deflis

@deflis deflis commented Nov 1, 2026

Copy link
Copy Markdown
Owner

CIのテスト二重実行と実APIへの依存を整理し、期限切れの npm トークンを使用する公開処理を OIDC に移行します。

  • Node.js 24・26 で単体テストとビルドを検証し、実APIテストを別ジョブで実行。カバレッジ計測は Node.js 26 に集約。
  • Pages の生成を PR で検証し、デプロイ用の書き込み権限を別ジョブに限定。
  • npm パッケージを認証情報なしで作成し、別ジョブから OIDC と provenance を使用して公開。リリースタグとバージョンの一致を確認し、プレリリースは next タグを使用。
  • README は開発用テストコマンドの説明のみ更新。

検証: pnpm run check、pnpm run test:coverage、pnpm run test:integration、pnpm run build:tsc、pnpm run docs、actionlint が成功。単体テスト705件・実APIテスト28件成功、3件スキップ。パッケージ作成と公開ドライランも確認済み。

次回公開前に npm の Trusted Publisher 登録が必要です: user deflis、repository node-narou、workflow publish-npm.yml、environment は空欄、npm publish による直接公開を許可。OIDC 認証と provenance の実生成は GitHub 上の初回公開時に確認します。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-01T17:03:08.370566Z ee98d8e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@deflis
deflis merged commit 40c8459 into master Nov 1, 2026
11 checks passed
@deflis
deflis deleted the codex/modernize-ci branch November 5, 2026 08:16
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.

1 participant