Fix cicleci config

This commit is contained in:
alxshelepenok 2018-11-11 15:14:34 +03:00
parent a8c4f4e1a8
commit 17f9779c72

View File

@ -12,28 +12,22 @@ jobs:
- dependencies-{{ checksum "yarn.lock" }} - dependencies-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found # fallback to using the latest cache if no exact match is found
- dependencies- - dependencies-
- run: - run:
name: Install and build package name: Install and build package
command: yarn install --frozen-lockfile command: yarn install --frozen-lockfile
- run:
- run:
name: "Lint" name: "Lint"
command: yarn lint:all command: yarn lint:all
- run: - run:
name: Coverage name: Coverage
command: yarn test:coverage --runInBand --no-cache command: yarn test:coverage --runInBand --no-cache
- run: - run:
name: Unit tests name: Unit tests
command: yarn test --runInBand --no-cache command: yarn test --runInBand --no-cache
- save_cache: - save_cache:
paths: paths:
- node_modules - node_modules
key: dependencies-{{ checksum "yarn.lock" }} key: dependencies-{{ checksum "yarn.lock" }}
workflows: workflows:
version: 2 version: 2
build_test: build_test: