File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,23 +133,14 @@ jobs:
133133 git config --global user.name "bitgobot"
134134
135135 - name : Configure npmrc
136- if : inputs.dry-run == false
137- env :
138- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
139136 run : |
140137 echo "engine-strict=true" > ~/.npmrc
141- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
142138
143139 - name : Setup Node.js with nvm
144140 uses : actions/setup-node@v6
145141 with :
146142 node-version-file : " .nvmrc"
147143
148- - name : Test NPM authentication
149- if : inputs.dry-run == false
150- run : |
151- npm whoami --registry https://registry.npmjs.org/
152-
153144 - name : Switch to rel/latest branch
154145 run : |
155146 git checkout rel/latest
@@ -175,7 +166,9 @@ jobs:
175166 - name : Publish new version
176167 if : inputs.dry-run == false
177168 run : |
178- yarn lerna publish --sign-git-tag --sign-git-commit --include-merged-tags --conventional-commits --conventional-graduate --verify-access --yes
169+ yarn lerna publish --sign-git-tag --sign-git-commit --include-merged-tags --conventional-commits --conventional-graduate --yes
170+ env :
171+ NPM_CONFIG_PROVENANCE : true
179172
180173 - name : Generate version bump summary
181174 id : version-bump-summary
You can’t perform that action at this time.
0 commit comments