This is a template to develop and release a react component. This also includes github action for releasing the npm module.
- Create a new account in npm. https://www.npmjs.com/signup
- Create a new access token and select publish as a type https://www.npmjs.com/settings/upnotes/tokens
- Add secret to your repo or organization as NPM_TOKEN https://github.com/organizations/upnotes-io/settings/secrets/actions/new
- Create a new tag and use that tag to create the release. Creating a new release will trigger the workflow.
Adding deploy keys to your repo: