version: "1"

services:
  - name: mysql
    image: mysql:5.7.24

  - name: redis
    image: redis:alpine

steps:
  - name: node
    image: amd64/node:10.0.0@sha256:5082d4db78ee2d24f72b25eb75537f2e19c49f04a595378d1ae8814d6f2fbf28
    commands:
      - npm install
      - npm test
