.drone.yml 602 B

12345678910111213141516171819202122232425262728293031323334353637
  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. - npm run build:cli
  21. - cd cli
  22. - npm install
  23. - npm test
  24. ---
  25. kind: pipeline
  26. name: installable-cli
  27. steps:
  28. - name: install-and-test
  29. image: node
  30. environment:
  31. AMBER_CLI: amber
  32. commands:
  33. - cd cli
  34. - npm install
  35. - npm install -g @ambers/cli
  36. - npm test