version: 2

jobs:
  build:
    docker:
      - image: circleci/node:9
      - image: circleci/mongo:3
      - image: redis:4@sha256:b6977d3ce8c7ee5c1a59146cd58912b5945b8b5ecf887ef2f3d1b2e402387f4e
    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:ee891094f0bb1a76d11cdca6e33c4fdce5cba1f13234c5896d341f6d741034b1
    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 ee89109
Update redis:4 Docker digest to ee89109
