ndrg13
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
10 additions and
5 deletions
-
.circleci/config.yml
|
|
@ -1,11 +1,14 @@ |
|
|
version: 2.1 |
|
|
version: 2.1 |
|
|
jobs: |
|
|
|
|
|
build: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: circleci/node:13 # the primary container, where your job's commands are run |
|
|
|
|
|
|
|
|
executors: |
|
|
|
|
|
my-executor: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: circleci/node:13 |
|
|
auth: |
|
|
auth: |
|
|
username: nicodrg |
|
|
username: nicodrg |
|
|
password: Ndrg100394 # context / project UI env-var reference |
|
|
|
|
|
|
|
|
password: Ndrg100394 |
|
|
|
|
|
jobs: |
|
|
|
|
|
build: |
|
|
|
|
|
executor: my-executor |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -21,6 +24,7 @@ jobs: |
|
|
paths: |
|
|
paths: |
|
|
- ./.cache/yarn |
|
|
- ./.cache/yarn |
|
|
lint: |
|
|
lint: |
|
|
|
|
|
executor: my-executor |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -34,6 +38,7 @@ jobs: |
|
|
name: Format code with prettier |
|
|
name: Format code with prettier |
|
|
command: yarn format:check |
|
|
command: yarn format:check |
|
|
test: |
|
|
test: |
|
|
|
|
|
executor: my-executor |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
|