-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Conversation
@@ -12,9 +12,14 @@ jobs: | |||
- uses: actions/setup-node@v1 | |||
with: | |||
node-version: 12.x | |||
registry-url: https://registry.npmjs.org/ |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I manually ran this action first, and know it actually works now.
couple things I learned here:
workflow_dispatch
orpush:
triggers, before mergingnpm publish --dry-run
doesn't actually verify that the auth process works. wat.