File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ # Configuration file for https://circleci.com/gh/angular/material2
2+
3+ # Note: YAML anchors allow an object to be re-used, reducing duplication.
4+ # The ampersand declares an alias for an object, then later the `<<: *name`
5+ # syntax dereferences it.
6+ # See http://blog.daemonl.com/2016/02/yaml.html
7+ # To validate changes, use an online parser, eg.
8+ # http://yaml-online-parser.appspot.com/
9+
10+ # Settings common to each job
11+ anchor_1 : &job_defaults
12+ working_directory : ~/ng
13+ docker :
14+ - image : angular/ngcontainer:0.0.4
15+
16+ # After checkout, rebase on top of master.
17+ # Similar to travis behavior, but not quite the same.
18+ # By default, PRs are not rebased on top of master, which we want.
19+ # See https://discuss.circleci.com/t/1662
20+ anchor_2 : &post_checkout
21+ post : git pull --ff-only origin "refs/pull/${CI_PULL_REQUEST//*pull\//}/merge"
22+
23+ version : 2
24+ jobs :
25+ build :
26+ << : *job_defaults
27+ steps :
28+ - checkout :
29+ << : *post_checkout
30+ - restore_cache :
31+ key : material2-{{ .Branch }}-{{ checksum "package-lock.json" }}
32+
33+ - run : bazel build src/cdk/...
34+ - save_cache :
35+ key : material2-{{ .Branch }}-{{ checksum "package-lock.json" }}
36+ paths :
37+ - " node_modules"
38+
39+ workflows :
40+ version : 2
41+ default_workflow :
42+ jobs :
43+ - build
You can’t perform that action at this time.
0 commit comments