devcontainers / devcontainers/ci

Ability to define steps within the plugin

オープン
#293 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
497
フォーク
102
PR マージ指標
30日以内にマージされた PR はありません

説明

I have a number of operations that I would like to execute within the container. There are node tests, linting, type checking, building, python tests and linting and type checking... that's arguably a lot of stuff. Yet, currently everything goes into a single step in GitHub actions - the container build step.

Rather than define everything in the `runCmd` property, I would like to be able to define basic steps as

```
steps:
- name: Run node tests
run: pnpm run test
- name: Linting
run: pnpm run lint
...
```

And that would end up in separate steps within GitHub actions.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、プラグインが現在 `runCmd` プロパティをどのように処理し、それを GitHub Actions のコンテナビルドステップに変換しているかを追跡します。提案されている `steps` エントリを個別の名前付きアクションにどのように対応付けるべきかを確認し、続いて node テスト、linting、その他のコマンドが独立したステップとして実行されることを検証します。issue ではソースファイルやテストは指定されていません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions, typescript
領域
ci-cd, devops
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。