GitHub Packages
The GitHub repository package section shows packages published to GitHub Packages, not packages published only to npmjs.com.
Dhal's primary package is on npm:
https://www.npmjs.com/package/@rokadhq/dhal
To populate GitHub Packages, also publish to:
https://npm.pkg.github.com
Keep npm as primary
Most users should install from npmjs.com:
npm install @rokadhq/dhal
GitHub Packages is useful for repo metadata and organization package visibility.
Workflow outline
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
scope: "@rokadhq"
- run: npm install
- run: npm run verify:publish
- run: npm pkg set publishConfig.registry=https://npm.pkg.github.com
- run: npm publish --access public --provenance=false
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}