pipeline: validate: image: node:lts-alpine commands: - yarn install - yarn valid deploy: image: node:lts-alpine commands: - echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" > .npmrc - yarn publish --non-interactive secrets: [ node_auth_token ] when: event: tag tag: v*