hollow-cli
Version:
22 lines (21 loc) • 414 B
YAML
language: node_js
node_js:
- '12'
before_install:
- printf "registry=https://registry.npmjs.org/\n//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> ~/.npmrc
install:
- npm install
script:
- npm publish
branches:
only:
- master
- /^v?\d+(\.\d+)+[\.\-_\w]*/
deploy:
provider: npm
email: nanyuantingfeng@aliyun.com
api_key:
secure: $NPM_TOKEN
on:
tags: true
repo: nanyuantingfeng/hollow-cli