Skip to content

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
- uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org/
Copy link
Contributor

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
Contributor

@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