Browse Source

💚 fix

main
Alexandre SOARES 4 years ago
parent
commit
c4df5f5f03
  1. 13
      .circleci/config.yml

13
.circleci/config.yml

@ -1,4 +1,3 @@
---
jobs: jobs:
build: build:
docker: docker:
@ -64,13 +63,11 @@ jobs:
name: "step lint" name: "step lint"
test_unit: test_unit:
docker: docker:
-
auth:
- auth:
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
username: xaela37 username: xaela37
image: "cimg/node:14.15.0" image: "cimg/node:14.15.0"
-
auth:
- auth:
password: $DOCKERHUB_PASSWORD password: $DOCKERHUB_PASSWORD
username: xaela37 username: xaela37
environment: environment:
@ -80,11 +77,9 @@ jobs:
image: "circleci/postgres:9.6.2-alpine" image: "circleci/postgres:9.6.2-alpine"
steps: steps:
- checkout - checkout
-
restore_cache:
- restore_cache:
key: "npm-v1-dependencies-{{ checksum \"yarn.lock\" }}" key: "npm-v1-dependencies-{{ checksum \"yarn.lock\" }}"
-
run:
- run:
command: "yarn test" command: "yarn test"
environment: environment:
DATABASE_URL: "postgres://psqluer:psqlpassword@localhost:5432/psqluer" DATABASE_URL: "postgres://psqluer:psqlpassword@localhost:5432/psqluer"

Loading…
Cancel
Save