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

Create Github Workflow To Automate Publishing to NPM #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sadikassistivlabs
Copy link

Create Github Workflow To Automate Publishing to NPM

Description

  • Adds in a Github Workflow that will run each time a new Github Release is manually made, and will try to publish the package to NPM
    • A PR to manually update the version in package.json will be need to be merged each time prior to making the Github Release

Testing Notes

Next Steps for Maintainer(s)

Someone with access to Github Actions Secrets for the repository and who also has permissions to publish the package should

  1. Follow these instructions from NPM to create a new token for use in the publishing auth flow
    • The "Automation" choice should be picked for the type of Action token
  2. Follow these instructions from Github to create a new repository secret named NPM_TOKEN, and paste in the token copied from NPM into its Value field

This can be done before or after this PR is merged.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@sadikassistivlabs
Copy link
Author

Touches on #16 I think

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.

None yet

1 participant