1 # This references the default nodejs container from
2 # the Docker Hub: https://registry.hub.docker.com/_/node/
3 # If you want Nodesource's container you would reference nodesource/node
4 # Read more about containers on our dev center
5 # http://devcenter.wercker.com/docs/containers/index.html
7 # This is the build pipeline. Pipelines are the core of wercker
8 # Read more about pipelines on our dev center
9 # http://devcenter.wercker.com/docs/pipelines/index.html
11 # You can also use services such as databases. Read more on our dev center:
12 # http://devcenter.wercker.com/docs/services/index.html
15 # http://devcenter.wercker.com/docs/services/postgresql.html
18 # http://devcenter.wercker.com/docs/services/mongodb.html
20 # The steps that will be executed on build
21 # Steps make up the actions in your pipeline
22 # Read more about steps on our dev center:
23 # http://devcenter.wercker.com/docs/steps/index.html
25 # A step that executes `npm install` command
27 # A step that executes `npm test` command
30 # A custom script step, name value is used in the UI
31 # and the code value contains the command that get executed
33 name: echo nodejs information
35 echo "node version $(node -v) running"
36 echo "npm version $(npm -v) running"