twig.js icon indicating copy to clipboard operation
twig.js copied to clipboard

Add CD with GitHub Actions

Open willrowe opened this issue 3 years ago • 1 comments

This would allow new releases to be automatically created.

  • [ ] Require 2FA or automation tokens on the npm package.

willrowe avatar Jun 22 '22 17:06 willrowe

This may have to be pushed to a later release and done manually until then. I looked into how to set this up, but it requires an npm user to generate an access token and enter it into the repository secrets. This would be fine if the access token could be restricted to just the twig.js package, but it actually would be able to publish an packages that the user who generated the token has access to, which I am not comfortable with.

Ability to restrict access tokens is being considered by GitHub/npm, so if it is ever added then this could move forward.

Relevant issues: https://github.com/npm/roadmap/issues/10 https://github.com/github/roadmap/issues/557

willrowe avatar Sep 21 '22 14:09 willrowe