forked from material-motion/material-motion-js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
circle.yml
36 lines (29 loc) · 1000 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
# From https://circleci.com/docs/yarn/
machine:
node:
version: 8.0.0
dependencies:
override:
# this has to come first or even `yarn global add yarn` will fail
- echo "workspaces-experimental true" >> ~/.yarnrc
## upgrade to current yarn
# set default yarn installation's install path
- yarn config set prefix "$HOME/.yarn"
- PATH=$( yarn global bin ):$PATH
# install the new yarn version
- yarn global add yarn@1
# set new yarn installation's install path
- yarn config set prefix "$HOME/.yarn"
# use the lerna version specified in package.json
- $( yarn bin )/lerna bootstrap -- --non-interactive --flat
# ensure the tslint folder exists so our artifacts can be written to it.
- mkdir -p $CIRCLE_TEST_REPORTS/tslint/
cache_directories:
- ~/.cache/yarn
test:
override:
- yarn run ci
# From http://codereview.cc/harbormaster/step/edit/6/
notify:
webhooks:
- url: http://codereview.cc/harbormaster/hook/circleci/