single-spa / single-spa-react

Single-spa lifecycles helper for React applications
https://single-spa.js.org/docs/ecosystem-react.html
MIT License
227 stars 63 forks source link

Feature: automate publishing #162

Closed filoxo closed 1 year ago

filoxo commented 1 year ago

I was able to also run & test GitHub action locally using act. I don't know that that's a workflow we want to support (would possibly allow for making canary releases a lot easier, but with the added cost of maintaining those versions). It just requires a .env file with a valid GH_TOKEN and NPM_TOKEN to be sourced before running act.

joeldenning commented 1 year ago

How does auto shipit determine what new version to publish the changes under?

filoxo commented 1 year ago

If I recall,shipit is a wrapper for multiple other commands, version included. That makes use of the label applied to the PR per the docs here https://intuit.github.io/auto/docs/generated/version so it still requires manually specifying, but via a label on the PR instead of through publishing commands. defaults to patch if unspecified.