0.1.18 • Published 2 years ago
upnotes-react-component-template v0.1.18
This is a template to develop and release a react component. This also includes github action for releasing the npm module.
Step to release 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.
Publishing to github pages:
Adding deploy keys to your repo: 1. https://github.com/JamesIves/github-pages-deploy-action/tree/dev#using-an-ssh-deploy-key- 2. https://docs.github.com/en/developers/overview/managing-deploy-keys#setup-2