diff --git a/.circleci/config.yml b/.circleci/config.yml index 541f77ed..70838cd5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -18,12 +18,20 @@ jobs: - run: name: Installing angular cli command: 'npm install -g @angular/cli@15 --no-progress' + #~ - restore_cache: + #~ key: dependency-cache-{{ checksum "package.json" }} - run: name: Installing npm deps command: 'npm install --no-progress' + - save_cache: + key: dependency-cache-{{ checksum "package.json" }} + paths: ./node_modules + - run: + name: ng lint and building + command: 'mkdir -p /tmp/logs && npm run build-lib:prod | tee /tmp/logs/build.log' - run: name: Executing test cases - command: npm run test-coverage + command: 'npm run test-coverage | tee /tmp/logs/test_cases.log' - run: name: Install sonar scanner command: npm install -g sonarqube-scanner