Browse Source

add cache to db

pull/2/head
Neel Coffin 6 years ago
parent
commit
4f18747b8b
  1. 8
      .circleci/config.yml

8
.circleci/config.yml

@ -50,6 +50,9 @@ jobs:
POSTGRES_DB: psdb POSTGRES_DB: psdb
POSTGRES_PASSWORD: psqlpwd POSTGRES_PASSWORD: psqlpwd
steps: steps:
- restore_cache:
name: restore yarn package cache
key: yarn-packages-v2{{ checksum "yarn.lock" }}
- run: - run:
command: yarn test:e2e command: yarn test:e2e
environment: environment:
@ -57,6 +60,11 @@ jobs:
API_PORT: 3000 API_PORT: 3000
API_HOST: localhost API_HOST: localhost
API_PROTOCOL: http API_PROTOCOL: http
- save_cache:
name: save yarn package cache
key: yarn-packages-v2{{ checksum "yarn.lock" }}
paths:
- ./node_modules
workflows: workflows:
build_and_test: build_and_test:
jobs: jobs:

Loading…
Cancel
Save