From 2470bd4691c27771986db3e78061833aaa5e3b40 Mon Sep 17 00:00:00 2001 From: "azure-pipelines[bot]" Date: Tue, 11 Sep 2018 14:28:18 -0700 Subject: [PATCH] ci: set up a lint job (#14536) --- .vsts/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .vsts/lint.yml diff --git a/.vsts/lint.yml b/.vsts/lint.yml new file mode 100644 index 000000000000..10c854bcac87 --- /dev/null +++ b/.vsts/lint.yml @@ -0,0 +1,17 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +pool: + vmImage: 'Ubuntu 16.04' + +steps: +- bash: | + git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${AGENT_BUILDDIRECTORY}/depot_tools" + echo "##vso[task.setvariable variable=PATH]$PATH:${AGENT_BUILDDIRECTORY}/depot_tools" + name: Setup_depot_tools + +- bash: | + npm install + npm run lint