Node version requirement
semantic-release is meant to be used in a CI environment as a development support tool, not as a production dependency. Therefore, the only constraint is to run the
semantic-releasein a CI environment providing version of Node that meets our version requirement.
The recommended approach is to run the
semantic-releasecommand from a CI job running on the latest available LTS version of node. This can either be a job used by your project to test on the latest Node LTS version or a dedicated job for the release steps.
$ npx -p node@v18-lts -c "npx semantic-release"
$ nvm install 'lts/*' && npx semantic-release