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

ci: automate publishing package to npm #429

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

Conversation

llllvvuu
Copy link
Contributor

@llllvvuu llllvvuu commented Sep 23, 2023

Before merging this PR, NPM_TOKEN must be provided to GitHub:

repository > Settings > Secrets and variables > Actions > New repository
secret

The NPM_TOKEN can be created at https://www.npmjs.com/

profile pic > Account > Access Tokens > Generate New Token > Granular
Access Token

@llllvvuu
Copy link
Contributor Author

In order for this to work, `NPM_TOKEN` must be provided to GitHub:

repository > Settings > Secrets and variables > Actions > New repository
secret

The `NPM_TOKEN` can be created at https://www.npmjs.com/

profile pic > Account > Access Tokens > Generate New Token > Granular
Access Token
@juanfranblanco
Copy link
Owner

@llllvvuu I saw this, and forgot to mention that pushing automatically to npm is a bit scary with key management.

@llllvvuu
Copy link
Contributor Author

llllvvuu commented Feb 8, 2024

GitHub Actions secrets are pretty secure, but you could publish manually if you prefer.

@juanfranblanco
Copy link
Owner

ok I am keeping it open, just in case :)

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

2 participants