ndrg13
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
15 deletions
-
.circleci/config.yml
|
|
@ -2,7 +2,7 @@ version: 2.1 |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
build: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:12 # the primary container, where your job's commands are run |
|
|
|
|
|
|
|
|
- image: circleci/node:13 # the primary container, where your job's commands are run |
|
|
auth: |
|
|
auth: |
|
|
username: nicodrg |
|
|
username: nicodrg |
|
|
password: Ndrg100394 # context / project UI env-var reference |
|
|
password: Ndrg100394 # context / project UI env-var reference |
|
|
@ -19,14 +19,8 @@ jobs: |
|
|
name: Save Yarn package cache |
|
|
name: Save Yarn package cache |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
key: npm-v1-dependencies-{{ checksum "yarn.lock" }} |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- ./.cache/yarn |
|
|
lint: |
|
|
lint: |
|
|
docker: |
|
|
|
|
|
- image: circleci/node:12 |
|
|
|
|
|
auth: |
|
|
|
|
|
username: nicodrg |
|
|
|
|
|
password: Ndrg100394 |
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -39,13 +33,7 @@ jobs: |
|
|
- run: |
|
|
- run: |
|
|
name: Format code with prettier |
|
|
name: Format code with prettier |
|
|
command: yarn format:check |
|
|
command: yarn format:check |
|
|
|
|
|
|
|
|
test: |
|
|
test: |
|
|
docker: |
|
|
|
|
|
- image: circleci/node:12 |
|
|
|
|
|
auth: |
|
|
|
|
|
username: nicodrg |
|
|
|
|
|
password: Ndrg100394 |
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -55,7 +43,6 @@ jobs: |
|
|
- run: |
|
|
- run: |
|
|
name: Run test with jest |
|
|
name: Run test with jest |
|
|
command: yarn test:ci |
|
|
command: yarn test:ci |
|
|
|
|
|
|
|
|
workflows: |
|
|
workflows: |
|
|
version: 2 |
|
|
version: 2 |
|
|
integration: |
|
|
integration: |
|
|
|