Skip to content

refactor(ci): consolidate chromatic workflow setup into shared action#2490

Merged
devmgn merged 4 commits intomainfrom
feature/consolidate-github-actions-setup
Jan 15, 2026
Merged

refactor(ci): consolidate chromatic workflow setup into shared action#2490
devmgn merged 4 commits intomainfrom
feature/consolidate-github-actions-setup

Conversation

@devmgn
Copy link
Copy Markdown
Owner

@devmgn devmgn commented Jan 15, 2026

Summary

  • chromatic.yml のセットアップステップを共通の setup action に統合
  • setup-env 入力パラメータを追加し、Chromatic では .env.local コピーをスキップ
  • .node-version.tool-versions に移行(asdf 互換)
  • Chromatic に --prefer-offline 最適化を自動適用

Changes

  • .github/actions/setup/action.yml: setup-env パラメータ追加、.tool-versions 参照
  • .github/workflows/chromatic.yml: 共通 setup action を使用(35行 → 28行)
  • .node-version.tool-versions に置換

Test plan

  • GitHub Actions ワークフローが正常に動作することを確認
  • Chromatic デプロイが成功することを確認

🤖 Generated with Claude Code

devmgn and others added 4 commits January 15, 2026 19:13
- Add `setup-env` input parameter to setup action for conditional env file copy
- Migrate chromatic.yml to use shared setup action with `setup-env: false`
- Replace `.node-version` with `.tool-versions` for asdf compatibility
- Chromatic now benefits from `--prefer-offline` optimization

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@devmgn devmgn merged commit 81736a0 into main Jan 15, 2026
3 checks passed
@devmgn devmgn deleted the feature/consolidate-github-actions-setup branch January 15, 2026 10:28
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