Skip to content

Commit

Permalink
chore: fix alpha release script attempt 2 - set registry (#7508)
Browse files Browse the repository at this point in the history
Co-authored-by: stpham <[email protected]>
  • Loading branch information
gitstevenpham and stpham authored May 6, 2021
1 parent e812e90 commit a2cf0d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/alpha-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
registry-url: 'https://registry.npmjs.org'
node-version: 12.x
- name: Install dependencies for master
run: yarn install --frozen-lockfile --non-interactive
Expand Down
2 changes: 1 addition & 1 deletion bin/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ let cli = readline.createInterface({
* @param {string} otp - Token to make publish requests to npm
*/
function publishPackage(distTag, tarball, otp) {
let cmd = `npm publish ${tarball} --tag=${distTag} --access=public`;
let cmd = `npm publish ${tarball} --tag=${distTag} --access=public --verbose`;

if (otp) {
cmd += ` --otp=${otp}`;
Expand Down

0 comments on commit a2cf0d1

Please sign in to comment.