We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
publish.yml:
- name: Publish if version has been updated uses: pascalgn/[email protected] with: tag_name: "v%s" tag_message: "v%s" create_tag: "true" commit_pattern: "^v(\\S+)" publish_command: "npm" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
error log:
npm notice npm ERR! code E401 npm ERR! 401 Unauthorized - PUT https://npm.pkg.github.com/xxx - authentication token not provided
if i run npm publish directly, it works. so how can i provide the token ? thx
npm publish
The text was updated successfully, but these errors were encountered:
have you checked your settings token ?
Sorry, something went wrong.
yes, i tried to pass another PAT token with NPM_AUTH_TOKEN env and failed too.
Current version (master) just worked for me I used this recipe:
https://github.com/abandonware/node-bluetooth-hci-socket/blob/bd0ce3cf2bf2977069a4611025a4d8668cf1f2d4/.github/workflows/npm-publish.yml
relate to : abandonware/node-bluetooth-hci-socket#44 (comment)
No branches or pull requests
publish.yml:
error log:
if i run
npm publish
directly, it works. so how can i provide the token ? thxThe text was updated successfully, but these errors were encountered: