The release-please.yml file is copied from the eslint-visitors-keys repo. I only changed the package name in three places and removed the npm install step. There is a prepare script in this project's package.json, but it doesn't look like it requires top-level node_modules so I think that npm install is not necessary before publishing.
Additional non-code setup:
[x] Update organization Actions secrets to give this repository access to NPM_TOKEN, MASTODON_ACCESS_TOKEN and the four TWITTER_* secrets.
[x] Update repository Actions settings to "Allow GitHub Actions to create and approve pull requests". (this was already enabled!)
[x] Update npm package settings to "Require two-factor authentication or an automation or granular access token"
Please double-check the release-please.yml file and all non-code setup items.
Sets up release-please.
The
release-please.yml
file is copied from the eslint-visitors-keys repo. I only changed the package name in three places and removed thenpm install
step. There is aprepare
script in this project's package.json, but it doesn't look like it requires top-level node_modules so I think thatnpm install
is not necessary before publishing.Additional non-code setup:
NPM_TOKEN
,MASTODON_ACCESS_TOKEN
and the fourTWITTER_*
secrets.Please double-check the
release-please.yml
file and all non-code setup items.