version: 0
metadata:
  name: Balrog UI Task Graph
  description: Balrog UI
  owner: "{{ event.head.user.email }}"
  source: "{{ event.head.repo.url }}"
tasks:
  - provisionerId: "{{ taskcluster.docker.provisionerId }}"
    workerType: "{{ taskcluster.docker.workerType }}"
    payload:
      maxRunTime: 1200
      image: "bhearsum/lineman-docker"
      command:
        - "/bin/bash"
        - "-c"
        - "git clone $GITHUB_HEAD_REPO_URL && cd balrog-ui && git checkout $GITHUB_HEAD_BRANCH && lineman spec-ci"
    extra:
      github:
        env: true
        events:
          - push
          - pull_request.*
    metadata:
      name: Balrog UI Pull Request
      description: Pull Request
      owner: "{{ event.head.user.email }}"
      source: "{{ event.head.repo.url }}"

version: 0
metadata:
  name: Balrog UI Task Graph
  description: Balrog UI
  owner: "{{ event.head.user.email }}"
  source: "{{ event.head.repo.url }}"
tasks:
  - provisionerId: "{{ taskcluster.docker.provisionerId }}"
    workerType: "{{ taskcluster.docker.workerType }}"
    payload:
      maxRunTime: 1200
      image: "bhearsum/lineman-docker"
      command:
        - "/bin/bash"
        - "-c"
        - "git clone $GITHUB_HEAD_REPO_URL && cd balrog-ui && git checkout $GITHUB_HEAD_BRANCH && npm install && npm install -g lineman && lineman spec-ci"
    extra:
      github:
        env: true
        events:
          - push
          - pull_request.*
    metadata:
      name: Balrog UI Pull Request
      description: Pull Request
      owner: "{{ event.head.user.email }}"
      source: "{{ event.head.repo.url }}"

Update command to install necessary node packages.
[balrog-ui] Update command to install necessary node packages.
