Important note to take when creating CI configuration for all CI environment
The semantic-release
command 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-release command is executed only after all jobs are successful.
Confirm whether developer will be publishing to a package registry; If so, we support NPM out-the-box, so expose the add the NPM_TOKEN to the ci configuration environment and ensure to avoid setting registry, we've seen this cause conflicts between .npmrc files that are generated between that setup step and what semantic-release does.