File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -169,16 +169,14 @@ jobs:
169169 id : publish
170170 run : |
171171 set -ex
172- npm config set provenance true
173- npm config set //registry.npmjs.org/
174172 npm whoami
175173 if [[ "$GITHUB_REF_TYPE" = "tag" ]]; then
176174 yarn napi prepublish -t npm --gh-release-id ${{ steps.gh-release.outputs.id }}
177- npm publish --access public
175+ npm publish --provenance -- access public
178176 elif [[ "$GITHUB_REF_TYPE" = "branch" ]]; then
179177 npm config set tag next
180178 yarn napi prepublish -t npm --skip-gh-release
181- npm publish --access public --tag next
179+ npm publish --provenance -- access public --tag next
182180 else
183181 echo "Skip publish"
184182 fi
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ httpRetry: 10
44
55nodeLinker : node-modules
66
7+ npmPublishRegistry : ' https://registry.npmjs.org'
8+
79preferReuse : true
810
911yarnPath : .yarn/releases/yarn-4.9.2.cjs
You can’t perform that action at this time.
0 commit comments