image: node:8.11.1

pipelines:
  default:
    - step:
        caches:
          - node
        script:
          - npm install
          - npm test
          - npm run lint
  # branches:
  #   master:
  #     - step:
  #         script:
  #           - npm install -g yarn
  #           - yarn install
  #           - yarn test
  #           - yarn lint
  #           - yarn deploy
