Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc: fix npm auth in nightly release #11810

Merged
merged 10 commits into from
Dec 10, 2020
Merged

misc: fix npm auth in nightly release #11810

merged 10 commits into from
Dec 10, 2020

Conversation

connorjclark
Copy link
Collaborator

@connorjclark connorjclark commented Dec 10, 2020

I manually ran this action first, and know it actually works now.

couple things I learned here:

  • test actions in the Actions tab, using the workflow_dispatch or push: triggers, before merging
  • npm publish --dry-run doesn't actually verify that the auth process works. wat.

@connorjclark connorjclark requested a review from a team as a code owner December 10, 2020 20:43
@connorjclark connorjclark requested review from adamraine and removed request for a team December 10, 2020 20:43
@google-cla google-cla bot added the cla: yes label Dec 10, 2020
@connorjclark connorjclark changed the title misc: fix yarn install in nightly release misc: fix npm auth in nightly release Dec 10, 2020
@@ -12,9 +12,14 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this the line that fixes it? The rest seems like it would have no effect except logging

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yup. it writes a .npmrc ... which npm uses to know where to make requests to.... so dum

Copy link
Member

@adamraine adamraine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@connorjclark connorjclark merged commit 88cb020 into master Dec 10, 2020
@connorjclark connorjclark deleted the nightly3 branch December 10, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants