forked from palantir/blueprint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
47 lines (47 loc) · 1.12 KB
/
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
39
40
41
42
43
44
45
46
47
general:
artifacts:
# compiled assets for each package
- packages/core/dist
- packages/datetime/dist
- packages/docs/dist
- packages/site-docs/dist
- packages/site-landing/dist
- packages/table/dist
# code coverage reports
- packages/core/coverage
- packages/datetime/coverage
- packages/table/coverage
# preview pages
- packages/table/preview
# GH Pages content
- docs
machine:
node:
version: 6.1.0
dependencies:
cache_directories:
- packages/core/node_modules
- packages/datetime/node_modules
- packages/docs/node_modules
- packages/site-docs/node_modules
- packages/site-landing/node_modules
- packages/table/node_modules
# non-zero exit codes in `dependencies` group will fail the build early
# so these following commands will block the build and prevent tests
post:
- lerna bootstrap
- npm run build:gulp
test:
override:
- gulp check
- gulp test
deployment:
preview:
branch: /.*/
commands:
- ./scripts/preview.sh
npm:
tag: /release-.*/
owner: palantir
commands:
- ./scripts/npmPublish.sh