Browse Source

Update config.yml

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

16
.circleci/config.yml

@ -11,16 +11,12 @@ jobs:
executor: my-executor executor: my-executor
steps: steps:
- checkout - checkout
- restore_cache:
name: Restore Yarn package cache
keys:
- npm-v4-dependencies-{{ checksum "yarn.lock" }}
- run: - run:
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:
name: Save Yarn package cache name: Save Yarn package cache
key: npm-v4-dependencies-{{ checksum "yarn.lock" }}
key: npm-v7-dependencies-{{ checksum "yarn.lock" }}
paths: paths:
- ./node_modules - ./node_modules
lint: lint:
@ -28,9 +24,8 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
name: Restore Yarn package cache
keys:
- npm-v4-dependencies-{{ checksum "yarn.lock" }}
name: Restore yarn package cache
key: npm-v7-dependencies-{{ checksum "yarn.lock" }}
- run: - run:
name: Analyse code with tslint and format with prettier name: Analyse code with tslint and format with prettier
command: yarn lint && yarn format:check command: yarn lint && yarn format:check
@ -39,9 +34,8 @@ jobs:
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
name: Restore Yarn package cache
keys:
- npm-v4-dependencies-{{ checksum "yarn.lock" }}
name: Restore yarn package cache
key: npm-v6-dependencies-{{ checksum "yarn.lock" }}
- run: - run:
name: Run test with jest name: Run test with jest
command: yarn test:ci command: yarn test:ci

Loading…
Cancel
Save