New workflow “npm publish only”: runs unit tests and does npm publish. To be used only when a npm publish fails in the larger workflow job once the reason for the failure has been corrected.
Rename the “Publish package to npm” workflow to “Versioned release” so it’s clearer how it differs from the new one.
Edit “Versioned release” to include the prerelease numbering and move the npm publish step to the end.