update CI config and release process
After doing the alpha.1 release and the latest release of Antora core, I found various areas for improvement in the CI config and release process. These improvements are as follows:
- prevent release job from being interrupted
- push tag before calling npm publish
- resolve deploy key for release per user
- add RELEASE_VERSION field to Run Pipeline form
- rename NODE_VERSION CI variable to DEFAULT_NODE_VERSION
- consolidate format check in lint CI job
- extract npm flags into environment variables to simplify npm call
- don't continue pipeline if stage fails
- consolidate logic for rules in CI config
Within reason, I'm trying to keep this CI config in sync with the one for core. There are still a few ideas to apply, but I'm going to focus on these improvements first.