您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

.drone.yml 400B

123456789101112131415161718192021222324252627
  1. kind: pipeline
  2. name: default
  3. steps:
  4. - name: npm install
  5. image: node:12
  6. commands:
  7. - npm install
  8. - name: npm run build
  9. image: node:12
  10. commands:
  11. - npm run build
  12. - name: npm run test
  13. image: node:12
  14. commands:
  15. - npm run test
  16. - name: npm publish
  17. image: plugins/npm
  18. settings:
  19. username: frontwork
  20. password:
  21. from_secret: npm_password
  22. email: frontwork.me@gmail.com