Skip to content

Conversation

@GreyCat
Copy link
Member

@GreyCat GreyCat commented May 4, 2020

No description provided.

@GreyCat GreyCat requested a review from generalmimon May 4, 2020 18:39
Copy link
Member

@generalmimon generalmimon left a comment

Choose a reason for hiding this comment

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

LGTM, feel free to merge it.

@GreyCat GreyCat merged commit ba12384 into master May 4, 2020
@GreyCat GreyCat deleted the add_gh_actions branch May 4, 2020 20:09
@GreyCat
Copy link
Member Author

GreyCat commented May 4, 2020

Ok, the most interesting part, i.e. publication, actually failed: https://github.com/kaitai-io/kaitai_struct_javascript_runtime/runs/644104474?check_suite_focus=true

I need to double check if that method of supplying the auth token is correct.

- name: Publish to npm
run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
Copy link
Member

@generalmimon generalmimon May 4, 2020

Choose a reason for hiding this comment

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

I need to double check if that method of supplying the auth token is correct.

@GreyCat Yeah, it obviously can't work, because your secret is called NODE_AUTH_TOKEN, not npm_token. So it should be probably ${{ secrets.NODE_AUTH_TOKEN }}.

Copy link
Member Author

Choose a reason for hiding this comment

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

Got it, thanks! Fixed, let's try it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants