git-commit-msg-linter icon indicating copy to clipboard operation
git-commit-msg-linter copied to clipboard

ci: add changeset to release pkg automatically

Open zanminkian opened this issue 2 years ago • 1 comments

Steps for you:

  1. Open Settings -> Actions -> General, and then tick Allow GitHub Actions to create and approve pull requests
  2. Open Settings -> Secrets and variables -> Actions,and then create a NPM_TOKEN. image
  3. 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

zanminkian avatar Mar 13 '23 13:03 zanminkian

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.

legend80s avatar Mar 19 '23 10:03 legend80s