ndrg13
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
.circleci/config.yml
|
|
|
@ -14,13 +14,13 @@ jobs: |
|
|
|
- restore_cache: |
|
|
|
name: Restore Yarn package cache |
|
|
|
keys: |
|
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- run: |
|
|
|
name: Install dependencies |
|
|
|
command: yarn global add node-gyp && yarn install |
|
|
|
- save_cache: |
|
|
|
name: Save Yarn package cache |
|
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
key: npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
paths: |
|
|
|
- ~/.cache/yarn2 |
|
|
|
lint: |
|
|
|
@ -30,7 +30,7 @@ jobs: |
|
|
|
- restore_cache: |
|
|
|
name: Restore Yarn package cache |
|
|
|
keys: |
|
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- run: |
|
|
|
name: Analyse code with tslint |
|
|
|
command: yarn lint |
|
|
|
@ -44,7 +44,7 @@ jobs: |
|
|
|
- restore_cache: |
|
|
|
name: Restore Yarn package cache |
|
|
|
keys: |
|
|
|
- npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- npm-v2-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
- run: |
|
|
|
name: Run test with jest |
|
|
|
command: yarn test:ci |
|
|
|
|