Fail build if a dry run publish fails
It's easy forget to bump the version number and npm publish will fail if you don't. Adding npm publish --dry-run to the build will fail the build until the version number is changed.
Edited by Mike Bamford
GitLab will be updated on 12-Feb-2026 between 12:00 and 14:00. There may be small periods of service instability.
It's easy forget to bump the version number and npm publish will fail if you don't. Adding npm publish --dry-run to the build will fail the build until the version number is changed.