Skip to content

PR/main向け軽量CIワークフローを追加#16

Merged
T3pp31 merged 1 commit into
mainfrom
codex/add-lightweight-ci-workflow-for-prs
May 13, 2026
Merged

PR/main向け軽量CIワークフローを追加#16
T3pp31 merged 1 commit into
mainfrom
codex/add-lightweight-ci-workflow-for-prs

Conversation

@T3pp31
Copy link
Copy Markdown
Owner

@T3pp31 T3pp31 commented May 13, 2026

Motivation

  • PRやmainブランチへのpushごとに最低限のフロントエンド+Rustの検証を自動化して早期に問題を検出するため。
  • 重いリリースビルド(既存のbuild-release.yml)とは分離して、PR段階では軽量確認に留める運用を定義するため。

Description

  • 新規に軽量CIワークフローを追加し、.github/workflows/ci.ymlpull_request/pushmain)時にフロントエンドのlint/build/test、node:test整合性チェック、cargo check/cargo testを実行するようにした。
  • package.jsontestvitest run)とtest:consistencynode --test tests/*.test.mjs)のnpm scriptを追加した。
  • CI整合性を検証するtests/ciWorkflowConsistency.test.mjsを追加し、既存のtests/readmeConsistency.test.mjsにCIテストの記載確認を追加した。
  • README.mdCONTRIBUTING.mdを更新して、ローカルでの最低限の事前確認コマンド(npm run lintnpm run buildnpm testnpm run test:consistencycargo checkcargo test)とCI/Releaseの役割分担を明記した。

Testing

  • npm run lint は問題なく成功した。
  • npm run buildtsc -b && vite build)は成功し、フロントエンドがビルドできることを確認した。
  • npm testvitest run)は全テストが成功し、5ファイル・52テストが通過した。
  • npm run test:consistencynode --test tests/*.test.mjs)は全て成功し、合計25テストがパスした。
  • cargo check --manifest-path src-tauri/Cargo.toml はローカルで実行した際にglib-2.0のシステムライブラリが見つからず失敗したためCIでの実行を想定している(ワークフローにLinux依存パッケージのインストール手順を含めている)。

Codex Task

@T3pp31 T3pp31 merged commit 28a747f into main May 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant