We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4390de commit 931a9bbCopy full SHA for 931a9bb
2 files changed
.github/scripts/publish-npm-binary.sh
@@ -56,6 +56,7 @@ cp "target/${TARGET}/release/${binary_name}" "${NPM_DIR}/${node_pkg}/bin/"
56
57
# Publish package
58
cd "${NPM_DIR}/${node_pkg}"
59
+npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
60
npm publish --access public --dry-run
61
62
echo "Successfully published ${node_pkg}"
.github/workflows/release_npm.yml
@@ -107,6 +107,7 @@ jobs:
107
cd npm/celq
108
yarn install # requires optional dependencies to be present in the registry
109
yarn build
110
+ npm config set //registry.npmjs.org/:_authToken "$NPM_TOKEN"
111
112
env:
113
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
0 commit comments