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/
9
1
anchors :
10
2
container-config : &container-config
11
3
docker :
@@ -15,7 +7,7 @@ anchors:
15
7
16
8
load-cache : &load-cache
17
9
restore_cache :
18
- key : dependency-cache-{{ checksum "package.json" }}
10
+ key : dependency-cache-{{ checksum "package-lock .json" }}
19
11
20
12
# # Circle CI configuration, see https://circleci.com/docs/2.0/configuration-reference/
21
13
version : 2
27
19
- *load-cache
28
20
- run :
29
21
name : Install dependencies
30
- command : npm i
22
+ command : npm ci
31
23
- save_cache :
32
- key : dependency-cache-{{ checksum "package.json" }}
24
+ key : dependency-cache-{{ checksum "package-lock .json" }}
33
25
paths :
34
26
- node_modules
35
27
You can’t perform that action at this time.
0 commit comments