.drone.yml 651 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. kind: pipeline
  2. name: lang
  3. steps:
  4. - name: test
  5. image: node
  6. commands:
  7. - npm install
  8. - cd sdk
  9. - npm install
  10. - cd ..
  11. - npm run test:sunit
  12. ---
  13. kind: pipeline
  14. name: built-cli
  15. steps:
  16. - name: build-and-test
  17. image: node
  18. commands:
  19. - npm install
  20. - cd sdk
  21. - npm install
  22. - cd ..
  23. - npm run build:cli
  24. - cd cli
  25. - npm install
  26. - npm test
  27. ---
  28. kind: pipeline
  29. name: installable-cli
  30. steps:
  31. - name: install-and-test
  32. image: node
  33. environment:
  34. AMBER_CLI: amber
  35. commands:
  36. - cd cli
  37. - npm install
  38. - npm install -g @ambers/cli
  39. - npm test