Add a .npmrc to your project:
@rakutenrewards:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_GITHUB_PATThe PAT needs
read:packagesscope.
Install:
npm install @rakutenrewards/standdown-pocUse:
import { StanddownExample } from "@rakutenrewards/standdown-poc";
<StanddownExample title="Hello" description="World" />- Go to GitHub → Actions → Release and Publish
- Click Run workflow
- Enter a version (e.g.
1.2.3) and click Run
This will bump package.json, create a git tag, publish a GitHub Release, and push the package to GitHub Packages.