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

Automate publishing of new versions #178

Open
karlhorky opened this issue Dec 12, 2022 · 0 comments
Open

Automate publishing of new versions #178

karlhorky opened this issue Dec 12, 2022 · 0 comments

Comments

@karlhorky
Copy link
Member

karlhorky commented Dec 12, 2022

Prerequisite: #177

Publish new commits of eslint-config-upleveled in main that pass the tests automatically to npm.

For the version numbers, we may want to introduce some kind of commit message format like Conventional Commits. Should do some research here to determine what the best, least disruptive thing is.

We should probably also use the new npm Granular Access Tokens, including the IP ranges:

npm has supported automation tokens for quite some time. Automation tokens allow you to publish to any packages that the owner of the token has permission to. Until now, it was not possible to create tokens with a least privilege model—to limit the impact of an accidental or deliberate misuse of the token. The new granular access tokens will allow you to do exactly this. You can now create tokens that can publish only to a limited set of packages and/or scopes.

Granular access tokens also let you limit npm API access based on allowed IP ranges and come with an expiration period of up to one year.

Similar to upleveled/preflight#342

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

No branches or pull requests

1 participant