Repository navigation
ci: prepare 3.2.3 and automate npm trusted publishing - #217
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #217 +/- ##
=======================================
Coverage 99.86% 99.86%
=======================================
Files 28 28
Lines 2962 2962
Branches 913 913
=======================================
Hits 2958 2958
Misses 4 4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
npm 上五个包仍为 3.2.2,仓库仅根包提前升为 3.2.3,且没有自动发布流程。本 PR 对齐五个包的 3.2.3 版本,并增加 tag 触发的 npm Trusted Publishing(OIDC)。
验证:
外部一次性配置尚待维护者完成/确认:五个 npm 包分别绑定 GitHub Actions publisher,owner yourtion、repo node-erest、workflow filename release.yml、environment 留空;如有 Allowed actions,允许直接 npm publish。详细表格见 RELEASING.md。workflow 不引入 NPM_TOKEN。
本次仅接入流程,未推送 v3.2.3 发布 tag、未真实上传 npm、未修改 npm Trusted Publisher 后台,也未创建 GitHub Release。mock 与本地产物验证不代表真实 OIDC 认证成功;首次发布需在绑定完成后由维护者显式推送 tag。