Using GitVersion mainline mode we are ensuring each commit produces a new version number. However there are some scenarios where a repeat build with the same version number is necessary.
One example is when a PR has a successful build policy requirement, but the build has expired.
With the NuGet task, we can use the option to skip duplicates and avoid trying to publish the same package version to our Azure Artifacts feed (resulting in a 409 conflict).
There doesn't seem to be an easy way to achieve the same with the npm task/client. How should this be handled?