image: node:10.15.1

pipelines:
  default:
    - step:
        caches:
          - node
        script:
          - yarn install
          - yarn run test:lint
          - yarn run test
        services:
          - rabbitmq

definitions:
  services:
    rabbitmq:
      image: rabbitmq
