未验证 提交 8f8d9f9d 编写于 作者: 陈帅 提交者: GitHub

perf: add checkout config in azure (#3498)

上级 54678ba6
......@@ -5,12 +5,10 @@
name: ant design pro
trigger:
- master
resources:
repositories:
- repository: self
fetchDepth: 1
batch: true
branches:
exclude:
- gh-pages
jobs:
- job: lintAndBuild
......@@ -19,6 +17,9 @@ jobs:
vmImage: 'Ubuntu-16.04'
steps:
- checkout: self
fetchDepth: 1
clean: false
- script: yarn install
displayName: install
- script: npm run lint
......@@ -35,6 +36,9 @@ jobs:
options: '-u root'
steps:
- checkout: self
fetchDepth: 1
clean: false
- script: yarn install
displayName: install
- script: npm run test:all
......@@ -44,6 +48,9 @@ jobs:
pool:
vmImage: 'vs2017-win2016'
steps:
- checkout: self
fetchDepth: 1
clean: false
- task: NodeTool@0
inputs:
versionSpec: '11.x'
......@@ -58,6 +65,9 @@ jobs:
pool:
vmImage: 'macOS-10.13'
steps:
- checkout: self
fetchDepth: 1
clean: false
- task: NodeTool@0
inputs:
versionSpec: '11.x'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册