diff --git a/.circleci/config.yml b/.circleci/config.yml index 8e1479a..b2de8dd 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,6 +50,9 @@ jobs: POSTGRES_DB: psdb POSTGRES_PASSWORD: psqlpwd steps: + - restore_cache: + name: restore yarn package cache + key: yarn-packages-v2{{ checksum "yarn.lock" }} - run: command: yarn test:e2e environment: @@ -57,6 +60,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: