1
0

.drone.yml 833 B

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