From 0d417bbf6baf7069546a1e80daab4e654e65985c Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 12 Mar 2019 13:10:40 -0230 Subject: [PATCH] ci: Use npm ci for fast(er) installs --- .circleci/config.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 884241ef2..8435b8575 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -85,21 +85,14 @@ jobs: - image: circleci/node:8.11.3-browsers steps: - checkout - # - restore_cache: - # keys: - # - v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }} - run: name: Install npm 6 + deps via npm command: | - sudo npm install -g npm@6 && npm install --no-save --no-audit + sudo npm install -g npm@6 && npm ci - persist_to_workspace: root: . paths: - node_modules - # - save_cache: - # key: v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }} - # paths: - # - node_modules prep-build: docker: