15 lines
496 B
YAML
15 lines
496 B
YAML
pool:
|
|
vmImage: 'Ubuntu 16.04'
|
|
|
|
steps:
|
|
- bash: |
|
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${AGENT_BUILDDIRECTORY}/third_party/depot_tools"
|
|
echo "##vso[task.setvariable variable=PATH]$PATH:${AGENT_BUILDDIRECTORY}/depot_tools"
|
|
displayName: Setup Depot Tools
|
|
|
|
- bash: |
|
|
export PATH="$PATH:${AGENT_BUILDDIRECTORY}/third_party/depot_tools"
|
|
echo "##vso[task.setvariable variable=PATH]$PATH"
|
|
npm install
|
|
npm run lint
|
|
displayName: Run Lint
|