File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 1- # Note: YAML anchors allow an object to be re-used, reducing duplication. The ampersand
2- # declares an alias for an object, then later the `<<: *alias` syntax dereferences it.
3- #
4- # See http://blog.daemonl.com/2016/02/yaml.html and
5- # https://medium.com/@kinghuang/docker-compose-anchors-aliases-extensions-a1e4105d70bd
6- # for more information about how to use anchors.
7- #
8- # To validate changes use an online parser, eg. http://yaml-online-parser.appspot.com/
91anchors :
102 container-config : &container-config
113 docker :
@@ -15,7 +7,7 @@ anchors:
157
168 load-cache : &load-cache
179 restore_cache :
18- key : dependency-cache-{{ checksum "package.json" }}
10+ key : dependency-cache-{{ checksum "package-lock .json" }}
1911
2012# # Circle CI configuration, see https://circleci.com/docs/2.0/configuration-reference/
2113version : 2
2719 - *load-cache
2820 - run :
2921 name : Install dependencies
30- command : npm i
22+ command : npm ci
3123 - save_cache :
32- key : dependency-cache-{{ checksum "package.json" }}
24+ key : dependency-cache-{{ checksum "package-lock .json" }}
3325 paths :
3426 - node_modules
3527
You can’t perform that action at this time.
0 commit comments