ndrg13
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
6 deletions
-
.circleci/config.yml
|
|
@ -1,14 +1,14 @@ |
|
|
version: 2.1 |
|
|
version: 2.1 |
|
|
executors: |
|
|
executors: |
|
|
my-executor: |
|
|
|
|
|
|
|
|
node-executor: |
|
|
docker: |
|
|
docker: |
|
|
- image: circleci/node:12 |
|
|
- image: circleci/node:12 |
|
|
auth: |
|
|
auth: |
|
|
username: nicodrg |
|
|
|
|
|
password: Ndrg100394 |
|
|
|
|
|
|
|
|
username: $DOCKERHUB_LOGIN |
|
|
|
|
|
password: $DOCKERHUB_PASSWORD |
|
|
jobs: |
|
|
jobs: |
|
|
build: |
|
|
build: |
|
|
executor: my-executor |
|
|
|
|
|
|
|
|
executor: node-executor |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- run: |
|
|
- run: |
|
|
@ -20,7 +20,7 @@ jobs: |
|
|
paths: |
|
|
paths: |
|
|
- ./node_modules |
|
|
- ./node_modules |
|
|
lint: |
|
|
lint: |
|
|
executor: my-executor |
|
|
|
|
|
|
|
|
executor: node-executor |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
@ -30,7 +30,7 @@ jobs: |
|
|
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 |
|
|
test: |
|
|
test: |
|
|
executor: my-executor |
|
|
|
|
|
|
|
|
executor: node-executor |
|
|
steps: |
|
|
steps: |
|
|
- checkout |
|
|
- checkout |
|
|
- restore_cache: |
|
|
- restore_cache: |
|
|
|