サーバサイドTypeScriptモノレポを半年運用した結果/How to maintain s...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
tom-256
October 30, 2022

サーバサイドTypeScriptモノレポを半年運用した結果/How to maintain server side typescript monorepo

Kanazawa.js #24

tom-256

October 30, 2022

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

25 slides
  1. 機能面はGitHub の機能を使うとポリレポでもモノレポと近いメリット が得られる Template Repository( パッケージのテンプレート) GitHub Actions Reusable Workflow(CI

    ワークフローの共通化) GitHub Actions Repository Dispatch( リポジトリ間のCI トリガー) npm package による設定ファイルの共通化 5
  2. CI docker/build-push-action とmatrix strategy により動的なCI 構築 変更があったパッケージのみCI 実施 パッケージが増えてもCI 時間が増加しないように

    unit test... キャッシュ未導入、テスト用パッケージが重い問題 docker build...multistage build,gha cache 14
  3. . ├── Dockerfile └── apps ├── foo └── bar └──

    apps ├── foo │ └── Dockerfile └── bar └── Dockerfile 18

More Decks by tom-256

Other Decks in Programming