|
|
@ -56,7 +56,18 @@ jobs: |
|
|
environment: |
|
|
environment: |
|
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432/psdb |
|
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432/psdb |
|
|
command: yarn test:e2e |
|
|
command: yarn test:e2e |
|
|
|
|
|
|
|
|
|
|
|
doc: |
|
|
|
|
|
docker: |
|
|
|
|
|
- image: cimg/node:14.15.0 # the primary container, where your job's commands are run |
|
|
|
|
|
auth: |
|
|
|
|
|
username: mydockerhub-user |
|
|
|
|
|
password: $DOCKERHUB_PASSWORD # context / project UI env-var reference |
|
|
|
|
|
steps: |
|
|
|
|
|
- checkout |
|
|
|
|
|
- restore_cache: |
|
|
|
|
|
key: npm-v4-dependencies-{{ checksum "yarn.lock" }} |
|
|
|
|
|
- run: |
|
|
|
|
|
name: yarn doc:build |
|
|
workflows: |
|
|
workflows: |
|
|
version: 2 |
|
|
version: 2 |
|
|
build_and_test: |
|
|
build_and_test: |
|
|
|