Repository navigation
ci: publish canary versions to npm by default - #4512
Conversation
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Requirement or Bug
移除 Canary npm 发布的仓库变量开关,使后续 Canary 版本默认发布到 npm 的
canarydist-tag。npm 管理员已为canary-release.yml配置 Trusted Publishing;本次不改变latestdist-tag。Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
未修改 stable
release.yml、latestdist-tag、npm 包名、Canary 版本算法或其他发布流程。Behavior Changes and Affected Users
canarydist-taglatest不变受影响模块与验证:
.github/workflows/canary-release.yml:YAML 解析通过;id-token: write、npm 11、registry、构建和 GitHub prerelease 步骤保留。scripts/canary-release.mjs/scripts/canary-release.test.mjs:相关脚本测试 20/20,通过;新增测试证明 npm dist-tag 查询始终执行、空值可接受、异常版本会失败。pnpm run typecheck与pnpm run lint均通过;git diff --check通过;KIMI_CODE_CANARY_NPM_PUBLISH残留引用为 0。Checklist
gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.