Skip to content

Instantly share code, notes, and snippets.

@longlostnick
Created September 4, 2014 00:37
Show Gist options
  • Save longlostnick/2e90eebf426bd1c0c369 to your computer and use it in GitHub Desktop.
Save longlostnick/2e90eebf426bd1c0c369 to your computer and use it in GitHub Desktop.
box: wercker/nodejs
# Build definition
build:
# The steps that will be executed on build
steps:
# A step that executes `npm install` command
- npm-install
# A step that executes `npm test` command
- npm-test
# A custom script step, name value is used in the UI
# and the code value contains the command that get executed
- script:
name: echo nodejs information
code: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment