TBD
@lidel or @Alex Potsides to help fill this out?
Before you can enable automation you should add NPM_TOKEN
secret to your repository. You should use an automation token that belongs to one of the shared NPM Service Accounts. You should choose the account based on the organization the repository in which you want to set up publishing resides. If an account for the organization doesn’t exist yet, it should be created (How to create a new shared NPM service account?)
Unified CI for JS is the easiest way to set up JS package testing and releasing in CI.
It distributes js-test-and-release GitHub Action workflow to participating repositories. In particular, the workflow automates running npm run --if-present release
on merges to the default branch.
To enable Unified CI for your repository:
push
access to your repository (through organization’s github-mgmt
repository if applicable; if unsure, ask #ipdx)