Document how to add a new repo to the release automation
Closed this issue · 3 comments
knolleary commented
Story
No response
Description
When adding a new repo that needs to be included in releases there are a number of tasks needed to be completed - none of which are currently documented.
- Add
.github/workflows/release-publish.yml
to the repo - copied from one of the other repos, updated with any specific tasks needed to be run - Add repo to the lists in:
- Something to do with the
NPM_PUBLISH_TOKEN
- but I'm not sure what right now (which is why this is an issue, rather than a PR whilst I gather the info needed)
knolleary commented
@hardillb I suspect you have the missing info about NPM_PUBLISH_TOKEN
- can I get you to take a look at this once 0.6 is done?
hardillb commented
The NPM_PUBLISH_TOKEN
is an organisation wide token, it shouldn't need to be added to new projects. But if publishing a new project for the first time the action does need to include --access public
on the npm publish
command line as scoped packages default to private, but that requires a paid npm account.
hardillb commented
Closing this as the --access public
was added to the automation and the NPM_PUBLISH_TOKEN is org wide