git-commit-msg-linter
git-commit-msg-linter copied to clipboard
ci: add changeset to release pkg automatically
Steps for you:
- Open
Settings->Actions->General, and then tickAllow GitHub Actions to create and approve pull requests - Open
Settings->Secrets and variables->Actions,and then create aNPM_TOKEN.
- Accept this PR.
After finishing steps above, github bot will create a PR named chore: release automatically. If you accept the chore: release PR, github action will release this pkg to npm.
Check the example of my project: https://github.com/zanminkian/tsconfig. Check the doc of changesets action: https://github.com/changesets/action
Very much learned by the automatic publish flow and I will definitely try it in some other projects, but it may not fit this project because I will do code adjustment before publishing sometimes.
Thanks very much maybe I will try it in the future.