Plugins Automatically publishing to npm on commit to Github Repo - ether/etherpad-lite GitHub Wiki
checkPlugins.js encourages introduction of a Github action called npmpublish.yml which is useful for automatically publishing your plugins to npm. To accomplish this you will need to create an NPM_TOKEN. To create the token follow these instructions:
https://docs.npmjs.com/creating-and-viewing-access-tokens
To set the secret in Github follow these instructions
https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets