chore: add check-relase script as part of perversion validations.

This commit is contained in:
Ivar Conradi Østhus
2022-04-06 20:34:03 +02:00
parent 794327f8e0
commit fe45c69fb6
6 changed files with 68 additions and 4 deletions
-1
View File
@@ -22,7 +22,6 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: |
yarn install --frozen-lockfile
yarn lint
- run: |
TAG=$(echo $GITHUB_REF_NAME | grep -oP '^v\d+\.\d+\.\d+-?\K(\w+)?')
npm publish --tag ${TAG:-latest}