image: node:lts before_script: - npm set registry http://10.10.247.1:4873 - npm install cache: paths: - node_modules/ publish: stage: deploy only: - tags - triggers script: - npm build-storybook - npm run build - echo '//10.10.247.1:4873/:_authToken=+ZiHemXxGEx4dJsHXxHqOCYUGyjlTZNkzHp3Y07rEMw='>.npmrc - npm publish