Skip to content

Split action dependencies #2009

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 17, 2025
Merged

Split action dependencies #2009

merged 7 commits into from
Jun 17, 2025

Conversation

int128
Copy link
Member

@int128 int128 commented Jun 17, 2025

Problem to solve

#2008 で create-deploy-pull-request ディレクトリを @actions/github から @octokit/action への移行したところ、Octokit の依存関係が変わって他のディレクトリに影響が出てしまいました。

依存関係の管理を以下のように移行します。E2E テストが通っているので大丈夫と思います。

  • Before: pnpm workspace による一元管理
  • After: 各ディレクトリの分散管理

Changes

  • 以下の設定ファイルを各ディレクトリにコピーしました
    • eslint.config.mjs
    • tsconfig.json
  • ルートにある package.json の devDependencies を各ディレクトリの package.json にマージしました
  • ルートにある pnpm-lock.yaml を各ディレクトリにコピーし、 pnpm i でロックファイルを再生成しました
  • autofix ワークフロー
    • Reusable workflow で各ディレクトリで pnpm format などを実行するように変更します
  • release ワークフロー
    • 各ディレクトリで pnpm build を実行するように変更します

@int128 int128 force-pushed the int128/Split-action-dependencies branch from b150b44 to a5a15c8 Compare June 17, 2025 07:50
@github-actions github-actions bot temporarily deployed to pr-2009/example June 17, 2025 08:08 Destroyed
@int128 int128 marked this pull request as ready for review June 17, 2025 08:37
@int128 int128 requested review from a team, panicboat, motobrew, aoi1, 44smkn and ShotaroMatsuya and removed request for a team June 17, 2025 08:37
@int128 int128 merged commit 48cdcbe into main Jun 17, 2025
34 checks passed
@int128 int128 deleted the int128/Split-action-dependencies branch June 17, 2025 08:59
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