version: 2

jobs:
  build:
    docker:
      - image: circleci/node:9
      - image: circleci/mongo:3
      - image: redis:4@sha256:bc6d2f2369b142e502e90693dcb29db6f80e70b072b96d64ccee754279b81c86
    steps:
      - checkout
      - run: yarn install --frozen-lockfile
      - run: yarn run lerna bootstrap
      - run: yarn test
      - run: yarn codecov
      - run: cd examples/react-rest-typescript && yarn install --frozen-lockfile && yarn test
      - run: cd examples/rest-express-typescript && yarn install --frozen-lockfile && yarn test
      - run: cd examples/react-graphql-typescript && yarn install --frozen-lockfile && yarn test
      - run: cd examples/graphql-server-typescript && yarn install --frozen-lockfile && yarn test

version: 2

jobs:
  build:
    docker:
      - image: circleci/node:9
      - image: circleci/mongo:3
      - image: redis:4@sha256:a471807cc636a02d8be3959a52dd7262a83ce6351be19605ce17d5da06c42f1d
    steps:
      - checkout
      - run: yarn install --frozen-lockfile
      - run: yarn run lerna bootstrap
      - run: yarn test
      - run: yarn codecov
      - run: cd examples/react-rest-typescript && yarn install --frozen-lockfile && yarn test
      - run: cd examples/rest-express-typescript && yarn install --frozen-lockfile && yarn test
      - run: cd examples/react-graphql-typescript && yarn install --frozen-lockfile && yarn test
      - run: cd examples/graphql-server-typescript && yarn install --frozen-lockfile && yarn test

Update redis:4 Docker digest to a471807
Update redis:4 Docker digest to a471807
