Commit bc1fd3dd authored by fanxuehui's avatar fanxuehui

添加 .gitlab-ci.yml

parent 50726edd
image: node:6
before_script:
- npm install
cache:
paths:
- node_modules/
publish:
stage: deploy
only:
- tags
- triggers
script:
- npm run build
- echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}'>.npmrc
- npm publish
\ 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