Browse Source

Update config.yml

main
KheliaNibaruta 6 years ago
parent
commit
898cf46457
  1. 12
      .circleci/config.yml

12
.circleci/config.yml

@ -16,22 +16,19 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn global add node-gyp && yarn install - run: yarn global add node-gyp && yarn install
- save_cache: - save_cache:
paths: paths:
- ~./cache/yarn - ~./cache/yarn
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
lint: lint:
docker: docker:
- image: cimg/node:12.18 - image: cimg/node:12.18
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check - run: yarn lint && yarn format:check
test: test:
docker: docker:
@ -39,6 +36,5 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key:
- npm-v1-dependencies-{{ checksum "yarn.lock" }}
key: npm-v1-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:ci - run: yarn test:ci
Loading…
Cancel
Save