semantic-releasecommand must be executed only after all the tests in the CI build pass. If the build runs multiple jobs (for example to test on multiple Operating Systems or Node versions) the CI has to be configured to guarantee that the
semantic-releasecommand is executed only after all jobs are successful. Here is a few example of the CI services that can be used to achieve this:
See each plugin's documentation for the environment variables required.
The authentication token/credentials have to be made available in the CI service via environment variables.