diff --git a/.circleci/config.yml b/.circleci/config.yml index 943bafd..4aa7963 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,4 +21,10 @@ jobs: key: ng-project-{{ .Branch }}-{{ checksum "package-lock.json" }} paths: - "node_modules" + - restore_cache: + key: ng-cache-{{ .Branch }}-{{ checksum "package-lock.json" }} - run: npm run build + - save_cache: + key: ng-cache-{{ .Branch }}-{{ checksum "package-lock.json" }} + paths: + - ".angular/cache" diff --git a/angular.json b/angular.json index c5b6a79..50342d7 100644 --- a/angular.json +++ b/angular.json @@ -94,5 +94,11 @@ } } } + }, + "cli": { + "cache": { + "enabled": true, + "environment": "all" + } } }