Skip to content

setup CI for publish#263

Merged
sivukhin merged 5 commits intomainfrom
setup-ci
Sep 19, 2024
Merged

setup CI for publish#263
sivukhin merged 5 commits intomainfrom
setup-ci

Conversation

@sivukhin
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
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
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