ci: 接入 Changesets 正式发布流程 - #6
Merged
Merged
Conversation
commit: |
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.
变更内容
ReleaseGitHub Actions workflowVersion PackagesPR,并在发版 PR 合并后执行pnpm releaseNPM_TOKENpkg-pr-newCI job/step 改名为预览包发布,避免和正式发包混淆release脚本wheelScroll和reverse两个 changeset 调整为minor,下一版按0.3.0发布验证
pnpm changeset statuspnpm buildpnpm docs:build发布前置条件
合并自动生成的
Version PackagesPR 前,需要先在 npm 后台为以下包配置 Trusted Publisher:@seamless-scroll/core@seamless-scroll/react@seamless-scroll/vue@seamless-scroll/sharedTrusted Publisher 绑定仓库
yeyunwen/seamless-scroll,workflow 文件填写release.yml。