From 44dd1520eb4a913530e206111e4dbb72667b5946 Mon Sep 17 00:00:00 2001 From: Rahul Kadyan Date: Sun, 6 May 2018 02:03:09 +0530 Subject: [PATCH] chore: Optimize CI build process --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6d2d8d2..7c6b7ba 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,12 +15,12 @@ jobs: - run: name: update-pnpm - command: 'sudo npm install -g pnpm@latest' + command: 'curl -L https://unpkg.com/@pnpm/self-installer | sudo node' # Download and cache dependencies - restore_cache: keys: - - v1-dependencies-{{ checksum "package.json" }} + - v1-dependencies-{{ checksum "shrinkwrap.yaml" }} # fallback to using the latest cache if no exact match is found - v1-dependencies- @@ -29,9 +29,9 @@ jobs: - save_cache: paths: - node_modules - key: v1-dependencies-{{ checksum "package.json" }} + key: v1-dependencies-{{ checksum "shrinkwrap.yaml" }} # run tests! - run: pnpm test -- --ci --coverage - - run: cat coverage/lcov.info | pnpm coveralls \ No newline at end of file + - run: cat coverage/lcov.info | pnpm run coveralls \ No newline at end of file