ci: release Univer CLI to insider-npm - #13
Merged
Conversation
hexf00
marked this pull request as ready for review
August 17, 2026 06:49
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.
必要性
重命名后的新 Univer CLI 仓库只有本地 pack 脚本,没有可审计的 CI 发布入口,并且源码
package.json的业务版本会迫使每次发布提交版本号。当前应用还需要明确锁定0.5.x版本线,以及alpha、insiders、dev三种发布合同。正确性
0.0.0哨兵,精确版本由发布请求注入并写入 release manifest。0.5.x-alpha.*仅由同名 Git tag 触发;0.5.x-insider.*仅允许从默认分支手动触发;0.5.x-dev.*仅允许本地触发。长期行为
发布实现只有
release:cli一个入口。alpha/tag、insiders/dispatch 和 dev/local 共用相同的打包、审计、隔离安装和发布实现,避免三条路径继续漂移。Promotion workflow 保持为后续独立工作。验证
pnpm check:通过,包括 17 个 CLI 测试文件、82 个 CLI 测试及真实 Sheet/Slide/Doc/Board/Base 浏览器渲染回路。0.5.0-dev.release-ci-auditdry-run:隔离安装、doctor、8 个 Skills、Viewer HTTP 200、daemon/Gateway 均通过。