
build:
  compile:
    image: node:6.3.1
    pull: true<% if(githubOrigin != ''){ %>
    environment:
      - COVERALLS_REPO_TOKEN=$$COVERALLS_REPO_TOKEN
    commands:
      - npm update
      - npm test


publish:
  
  npm:
    username: $$NPM_USERNAME
    password: $$NPM_PASSWORD
    email: $$NPM_EMAIL
    registry: $$NPM_REGISTRY
    always_auth: $$NPM_ALWAYS_AUTH


cache:
  mount:
    - node_modules