Browse Source

Update config.yml

main
ndrg13 6 years ago
committed by GitHub
parent
commit
da3ba54195
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      .circleci/config.yml

14
.circleci/config.yml

@ -15,7 +15,7 @@ jobs:
name: Install dependencies name: Install dependencies
command: yarn global add node-gyp && yarn install command: yarn global add node-gyp && yarn install
- save_cache: - save_cache:
key: npm-v5-dependencies-{{ checksum "yarn.lock" }}
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
paths: paths:
- ~/.cache/yarn5 - ~/.cache/yarn5
lint: lint:
@ -23,19 +23,15 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
key: npm-v5-dependencies-{{ checksum "yarn.lock" }}
- run:
name: Analyse code with tslint and format with prettier
command: yarn lint && yarn format:check
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
- run: yarn lint && yarn format:check
test: test:
executor: my-executor executor: my-executor
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
keys: npm-v5-dependencies-{{ checksum "yarn.lock" }}
- run:
name: Run test with jest
command: yarn test:ci
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
- run: yarn test:ci
workflows: workflows:
version: 2 version: 2
integration: integration:

Loading…
Cancel
Save