Skip to content

Commit 93c58a4

Browse files
committed
updated yml
1 parent 1de0029 commit 93c58a4

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

Diff for: Procfile

-1
This file was deleted.

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Node.js sample application for wercker built with Express
22

3-
[![Wercker
4-
status](https://app.wercker.com/status/7b1a402dd00d57fc9abddf9eb5161675/m)](https://app.wercker.com/project/bykey/7b1a402dd00d57fc9abddf9eb5161675)
3+
Uses the default Node.js [Docker container](https://registry.hub.docker.com/u/library/node/) from the Docker Hub.
54

Diff for: app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var app = express();
33

44
app.get('/', function(req, res){
55
res.writeHead(200, { 'Content-Type': 'application/json' });
6-
res.write(JSON.stringify({insecticons : ["San Francisco","Amsterdam", "Berlin", "New York", "Palo ALto"]}));
6+
res.write(JSON.stringify({cities : ["San Francisco","Amsterdam", "Berlin", "New York", "Palo ALto"]}));
77
res.end();
88
});
99

Diff for: wercker.yml

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

0 commit comments

Comments
 (0)