Skip to content

ci: GitHub Actions でテストを自動実行する#2

Merged
hideack merged 1 commit into
mainfrom
ci/add-github-actions
Apr 12, 2026
Merged

ci: GitHub Actions でテストを自動実行する#2
hideack merged 1 commit into
mainfrom
ci/add-github-actions

Conversation

@hideack

@hideack hideack commented Apr 12, 2026

Copy link
Copy Markdown
Owner

概要

.github/workflows/ci.yml を追加し、以下のタイミングで自動テストを実行する。

  • main ブランチへの push
  • main ブランチへの pull request

ワークフローの内容

  1. npm ci — 依存パッケージのインストール
  2. npm run build — TypeScript のビルド
  3. npm test — vitest によるテスト実行

Node.js 22 を使用(ローカル環境と合わせた)。npm キャッシュを有効化して実行時間を短縮。

🤖 Generated with Claude Code

Runs npm ci, build, and vitest on every push to main and on every
pull request targeting main, using Node.js 22 with npm cache.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hideack hideack merged commit d935ef9 into main Apr 12, 2026
1 check passed
@hideack hideack deleted the ci/add-github-actions branch April 12, 2026 03:42
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