Baphomet is the dedicated bot for nulloctet matrix
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
819 B

  1. ---
  2. resources:
  3. - name: baphomet-js-git
  4. type: git
  5. icon: git
  6. source:
  7. uri: ssh://git@git.nulloctet.com:8437/warricksothr/basphomet-js.git
  8. private_key: |
  9. ((pull_key))
  10. jobs:
  11. - name: test
  12. public: true
  13. plan:
  14. - get: baphomet-js-git
  15. trigger: true
  16. - task: run-tests
  17. config:
  18. platform: linux
  19. image_resource:
  20. type: registry-image
  21. source: { repository: node, tag: "13" }
  22. inputs:
  23. - name: baphomet-js-git
  24. run:
  25. path: /bin/sh
  26. args:
  27. - -c
  28. - |
  29. echo "Node Version: $(node --version)"
  30. echo "NPM Version: $(npm --version)"
  31. cd baphomet-js-git
  32. npm install
  33. npm test