We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88d388b commit 58e6afbCopy full SHA for 58e6afb
.github/workflows/release.yml
@@ -166,11 +166,13 @@ jobs:
166
set -ex
167
npm config set provenance true
168
npm config set //registry.npmjs.org/:_authToken "$NPM_AUTH_TOKEN"
169
+ npm config set access public
170
npm whoami
171
if [[ "$GITHUB_REF_TYPE" = "tag" ]]; then
172
yarn napi prepublish -t npm --gh-release-id ${{ steps.gh-release.outputs.id }}
173
npm publish --access public
174
elif [[ "$GITHUB_REF_TYPE" = "branch" ]]; then
175
+ npm config set tag next
176
yarn napi prepublish -t npm --skip-gh-release
177
npm publish --access public --tag next
178
else
0 commit comments