Commit 62562474 authored by fanxuehui's avatar fanxuehui

ci:

parent 6cfaecae
Pipeline #153739 failed with stage
in 16 seconds
image: node:10 image: node:10
tags:
- test
before_script:
- npm install
cache: cache:
paths: paths:
- node_modules/ - node_modules/
publish: publish:
stage: deploy stage: deploy
tags:
- test
only: only:
- tags - tags
- triggers - triggers
script: script:
- npm install
- npm run build - npm run build
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>~/.npmrc - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>./.npmrc
- npm publish - npm publish
\ No newline at end of file
//registry.npm.taobao.org/
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment