1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

ci: Use npm ci for fast(er) installs

This commit is contained in:
Whymarrh Whitby 2019-03-12 13:10:40 -02:30
parent 4812fdb7b9
commit 0d417bbf6b

View File

@ -85,21 +85,14 @@ jobs:
- image: circleci/node:8.11.3-browsers - image: circleci/node:8.11.3-browsers
steps: steps:
- checkout - checkout
# - restore_cache:
# keys:
# - v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }}
- run: - run:
name: Install npm 6 + deps via npm name: Install npm 6 + deps via npm
command: | command: |
sudo npm install -g npm@6 && npm install --no-save --no-audit sudo npm install -g npm@6 && npm ci
- persist_to_workspace: - persist_to_workspace:
root: . root: .
paths: paths:
- node_modules - node_modules
# - save_cache:
# key: v{{ .Environment.CACHE_VERSION }}-dependency-cache-{{ checksum "package-lock.json" }}
# paths:
# - node_modules
prep-build: prep-build:
docker: docker: