ci: clean up the lint config for vsts (#14914)
This commit is contained in:
parent
3ad3ade828
commit
13035612ab
1 changed files with 2 additions and 6 deletions
|
@ -1,8 +1,3 @@
|
||||||
# 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:
|
pool:
|
||||||
vmImage: 'Ubuntu 16.04'
|
vmImage: 'Ubuntu 16.04'
|
||||||
|
|
||||||
|
@ -10,10 +5,11 @@ steps:
|
||||||
- bash: |
|
- bash: |
|
||||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git "${AGENT_BUILDDIRECTORY}/third_party/depot_tools"
|
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"
|
echo "##vso[task.setvariable variable=PATH]$PATH:${AGENT_BUILDDIRECTORY}/depot_tools"
|
||||||
name: Setup_depot_tools
|
displayName: Setup Depot Tools
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
export PATH="$PATH:${AGENT_BUILDDIRECTORY}/third_party/depot_tools"
|
export PATH="$PATH:${AGENT_BUILDDIRECTORY}/third_party/depot_tools"
|
||||||
echo "##vso[task.setvariable variable=PATH]$PATH"
|
echo "##vso[task.setvariable variable=PATH]$PATH"
|
||||||
npm install
|
npm install
|
||||||
npm run lint
|
npm run lint
|
||||||
|
displayName: Run Lint
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue