Merge pull request 'chore: update npm registry configuration in publish workflow' (#59) from chore/change-registry-to-npm into main
Some checks failed
Publish / publish (push) Failing after 5m27s

Reviewed-on: #59
This commit was merged in pull request #59.
This commit is contained in:
2026-03-26 16:07:47 +00:00

View File

@@ -64,11 +64,11 @@ jobs:
- name: Configure npm registry auth
run: |
echo "registry=https://registry.npmjs.org" >> ~/.npmrc
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" >> ~/.npmrc
cat >> ~/.bunfig.toml << EOF
[publish]
registry = "https://registry.npmjs.org"
token = "${NODE_AUTH_TOKEN}"
[install.scopes]
"@0kmpo" = { registry = "https://registry.npmjs.org", token = "${NODE_AUTH_TOKEN}" }
EOF
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}