forked from palantir/blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
38 lines (38 loc) · 854 Bytes
/
circle.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
38
general:
artifacts:
- packages/core/coverage
- packages/datetime/coverage
- packages/docs/dist
- packages/landing/dist
- packages/table/preview
- docs
machine:
node:
version: 6.1.0
dependencies:
cache_directories:
- packages/core/node_modules
- packages/datetime/node_modules
- packages/docs/node_modules
- packages/landing/node_modules
- packages/table/node_modules
# non-zero exit codes in dependencies will fail the build early
# so these following commands will block the build and prevent tests
post:
- lerna bootstrap
- gulp build
test:
override:
- gulp check
- gulp test
deployment:
preview:
branch: /.*/
owner: palantir
commands:
- ./scripts/preview.sh
npm:
tag: /release-.*/
owner: palantir
commands:
- ./scripts/npmPublish.sh