forked from gfke/werckerbox-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker-box.yml
37 lines (35 loc) · 938 Bytes
/
wercker-box.yml
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
27
28
29
30
31
32
33
34
35
36
37
name : nodejs
version : 5.8.0
description: Latest version of NodeJS
inherits : nahody/[email protected]
type : main
platform : [email protected]
keywords:
- nodejs
box-detect:
priority : 1000
version :
detect:
- files:
- package.json
default-build:
nodejs:
priority : 50
detect:
- default: true
text-to-append: |
# 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"