forked from mies/getting-started-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwercker.yml
More file actions
27 lines (24 loc) · 672 Bytes
/
wercker.yml
File metadata and controls
27 lines (24 loc) · 672 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
box: node:4.2.6-slim
dev:
steps:
- npm-install
- internal/watch:
code: node app.js
reload: true
# Build definition
build:
# The steps that will be executed on build
steps:
- script:
code: export NODE_ENV='testing'
# 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"