Once you have added your Project to CFA and set up a Requester and a Responder for that project you can go ahead and configure Semantic Release to use CFA.
Step 1: Configure your CI environment
In order for CFA to run and authenticate correctly you must configure the following environment variables on your CI provider.
Environment Variable
Value
CFA_SECRET
The "Project Secret" found on your Project configuration page
CFA_PROJECT_ID
The "Project ID" found on your Project configuration page
These variables are automatically configured by the CircleCIand GitHub Actionsrequesters.
Step 2: Configure Semantic Release
You should configure Semantic Release following the default instructions. Then once it's completely set up you should add @continuous-auth/semantic-release-npm as a dev-dependency to your project. You do not need to configure a GITHUB_TOKENas that will be provided automatically by CFA.