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

setup CI for publish #263

Merged
merged 5 commits into from
Sep 19, 2024
Merged

setup CI for publish #263

merged 5 commits into from
Sep 19, 2024

Conversation

sivukhin
Copy link
Contributor

@sivukhin sivukhin commented Sep 13, 2024

Setup CI for automatic publish of NPM package based on the tag:

  • Tags matching v* pattern with -pre substring will be published as pre-release versions (npm publish --tag next)
  • All other tags matching v* pattern will be published as latest package version (npm publish)

@notrab
Copy link
Member

notrab commented Sep 13, 2024

If we want to go down the path of setting up a monorepo then using chanegsets in the CI for publishing would be an easier route. That way we can handle semver much easier, and roll multiple merges into single releases.

Changesets seems to be a common standard these days. Here’s an example of how I have it setup on another project.

@sivukhin sivukhin marked this pull request as ready for review September 19, 2024 06:57
@sivukhin
Copy link
Contributor Author

@notrab - for now I want at least to have ability to publish packages without @penberg
We can change it any time to use changeset - but I want to merge this for now

@sivukhin sivukhin merged commit fe3d668 into main Sep 19, 2024
5 checks passed
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.

2 participants