diff --git a/.circleci/config.yml b/.circleci/config.yml index a0cbd6f..774c058 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,6 +51,9 @@ jobs: POSTGRES_DB: psdb steps: - checkout + - restore_cache: + name: restore yarn package cache + key: yarn-packages-v2{{ checksum "yarn.lock" }} - run: command: yarn test:e2e environment: @@ -58,6 +61,11 @@ jobs: API_PORT: 3000 API_HOST: localhost API_PROTOCOL: http + - save_cache: + name: save yarn package cache + key: yarn-packages-v2{{ checksum "yarn.lock" }} + paths: + - ./node_modules workflows: build_and_test: jobs: