Authored by 陈峰
Builds for 1 pipeline failed

Add new file

  1 +language : node_js
  2 +node_js:
  3 + - "10"
  4 +
  5 +branches:
  6 + only:
  7 + - master
  8 +
  9 +install:
  10 +- npm install
  11 +
  12 +os:
  13 + - linux
  14 +
  15 +stages:
  16 + - name: deploy
  17 +
  18 +jobs:
  19 + include:
  20 + - stage: deploy
  21 + script:
  22 + - echo "NPM Deploying Started ..."
  23 + - npm version
  24 + - npm run build
  25 + - echo "NPM Building Finished."
  26 +
  27 + deploy:
  28 + provider: npm
  29 + email: chenfengjw@hotmail.com
  30 + api_key: "$NPM_TOKEN"
  31 + skip_cleanup: true
  32 + on:
  33 + all_branches: true