-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvagga.yaml
49 lines (43 loc) · 1.2 KB
/
vagga.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
containers:
js:
setup:
- !Alpine v3.6
- !Install [nodejs-npm, vim]
- &nodeenv !Env
NODE_PATH: /usr/lib/node_modules
PATH: /bin:/usr/bin:/usr/local/bin:/usr/lib/node_modules/.bin
BABEL_DISABLE_CACHE: 1
- !YarnDependencies
- &bulk !Tar
url: "https://github.com/tailhook/bulk/releases/download/v0.4.9/bulk-v0.4.9.tar.gz"
sha256: 23471a9986274bb4b7098c03e2eb7e1204171869b72c45385fcee1c64db2d111
path: /
environ: *nodeenv
example-simple:
setup:
- !Alpine v3.6
- !Install [nodejs-npm]
- *nodeenv
- !YarnDependencies
dir: examples/simple
environ: *nodeenv
commands:
make: !Command
container: js
run: [npm, run, build]
test: !Command
container: js
run: [npm, run, test]
webpack: !Command
description: Run webpack (useful for compiling examples)
container: js
run: [webpack]
example-simple: !Command
description: Run simple example with dev server
container: example-simple
work-dir: /work/examples/simple
run: [webpack-dev-server, --hot, --history-api-fallback]
_bulk: !Command
description: Run arbitrary bulk command (maintains version number)
container: js
run: [bulk]