name: $(BuildID)

resources:
  repositories:
    - repository: apt
      type: github
      name: futagoza/apt

variables:
- group: 'env-variables'

jobs:

- template: eslint.yml@apt

- template: node-test.yml@apt
  parameters:
    node_version: 6.x
    after:
    - script: yarn coverage
      env:
        COVERALLS_SERVICE_NAME: $(COVERALLS_SERVICE_NAME)
        COVERALLS_REPO_TOKEN: $(COVERALLS_REPO_TOKEN)
        GIT_BRANCH: $(Build.SourceBranch)
        GIT_COMMIT_SHA: $(Build.SourceVersion)
    azure_coverage: True

name: $(BuildID)

resources:
  repositories:
    - repository: apt
      type: github
      name: futagoza/apt
      endpoint: pegjs

variables:
- group: 'env-variables'

jobs:

- template: eslint.yml@apt

- template: node-test.yml@apt
  parameters:
    node_version: 6.x
    after:
    - script: yarn coverage
      env:
        COVERALLS_SERVICE_NAME: $(COVERALLS_SERVICE_NAME)
        COVERALLS_REPO_TOKEN: $(COVERALLS_REPO_TOKEN)
        GIT_BRANCH: $(Build.SourceBranch)
        GIT_COMMIT_SHA: $(Build.SourceVersion)
    azure_coverage: True

Add endpoint for Pipeline templates
Add endpoint for Pipeline templates
