Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add changeset to release pkg automatically #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zanminkian
Copy link
Contributor

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

@legend80s
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants