wercker.yml 550 B

1234567891011121314151617181920
  1. box: wercker/nodejs
  2. services:
  3. - wercker/mongodb@1.0.1
  4. # Build definition
  5. build:
  6. # The steps that will be executed on build
  7. steps:
  8. # A step that executes `npm install` command
  9. - npm-install
  10. # A step that executes `npm test` command
  11. - npm-test
  12. # A custom script step, name value is used in the UI
  13. # and the code value contains the command that get executed
  14. - script:
  15. name: echo nodejs information
  16. code: |
  17. echo "node version $(node -v) running"
  18. echo "npm version $(npm -v) running"