fix ci
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
2026-02-24 10:55:39 +01:00
parent 01bbaebe5b
commit 62590c34d1

View File

@@ -46,6 +46,5 @@ steps:
from_secret: nexus_npm_token from_secret: nexus_npm_token
commands: commands:
- yarn install --frozen-lockfile - yarn install --frozen-lockfile
- node -e "const pkg=require('./package.json').version; const tag=process.env.DRONE_TAG; if('v'+pkg!==tag){console.error('Tag/version mismatch: v'+pkg+' != '+tag); process.exit(1);}"
- npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN" - npm config set //nexus.beatrice.wtf/repository/npm-hosted/:_authToken "$NEXUS_NPM_TOKEN"
- yarn publish:nexus - yarn publish:nexus