Repository navigation
miku-soft 標準に合わせて CLI/runtime release bundle を整備 - #26
Merged
Merged
Conversation
## 概要 miku-soft の Node main application 標準に合わせて、GitHub Release 用の CLI/runtime/source bundle 生成と upload workflow を整備します。 ## 変更内容 - GitHub Release workflow を `release: published` トリガへ変更し、release tag を checkout して build / smoke / staging / upload する形に変更 - Release asset を `miku-xlsx2md-<version>.mjs`、`miku-xlsx2md-runtime-<version>.mjs`、`miku-xlsx2md-sources-<version>.tgz` の 3 点構成に変更 - `miku-xlsx2md-runtime.json` はローカル build metadata として残し、GitHub Release asset から除外 - single-file CLI bundle、runtime bundle、sources tgz を生成する `build:bundle` と、CLI bundle を検証する `smoke:bundle` を追加 - 既存 CLI 処理を reusable runner に分離し、通常 CLI と bundled CLI で同じ処理を使うように整理 - release staging の回帰テストを追加し、JSON が Release asset に含まれず 3 点構成だけが出ることを固定 - package version と front matter 仕様例を `1.2.2` に更新 ## 確認 - `npm run build:bundle` - `npm run smoke:bundle` - `npm run smoke:runtime` - `npm run stage:runtime-release` - `npm test`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
miku-soft の Node main application 標準に合わせて、GitHub Release 用の CLI/runtime/source bundle 生成と upload workflow を整備します。
変更内容
release: publishedトリガへ変更し、release tag を checkout して build / smoke / staging / upload する形に変更miku-xlsx2md-<version>.mjs、miku-xlsx2md-runtime-<version>.mjs、miku-xlsx2md-sources-<version>.tgzの 3 点構成に変更miku-xlsx2md-runtime.jsonはローカル build metadata として残し、GitHub Release asset から除外build:bundleと、CLI bundle を検証するsmoke:bundleを追加1.2.2に更新確認
npm run build:bundlenpm run smoke:bundlenpm run smoke:runtimenpm run stage:runtime-releasenpm test