Unverified Commit 8f8d9f9d authored by ι™ˆεΈ…'s avatar ι™ˆεΈ… Committed by GitHub

perf: add checkout config in azure (#3498)

parent 54678ba6
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
name: ant design pro name: ant design pro
trigger: trigger:
- master batch: true
branches:
resources: exclude:
repositories: - gh-pages
- repository: self
fetchDepth: 1
jobs: jobs:
- job: lintAndBuild - job: lintAndBuild
...@@ -19,6 +17,9 @@ jobs: ...@@ -19,6 +17,9 @@ jobs:
vmImage: 'Ubuntu-16.04' vmImage: 'Ubuntu-16.04'
steps: steps:
- checkout: self
fetchDepth: 1
clean: false
- script: yarn install - script: yarn install
displayName: install displayName: install
- script: npm run lint - script: npm run lint
...@@ -35,6 +36,9 @@ jobs: ...@@ -35,6 +36,9 @@ jobs:
options: '-u root' options: '-u root'
steps: steps:
- checkout: self
fetchDepth: 1
clean: false
- script: yarn install - script: yarn install
displayName: install displayName: install
- script: npm run test:all - script: npm run test:all
...@@ -44,6 +48,9 @@ jobs: ...@@ -44,6 +48,9 @@ jobs:
pool: pool:
vmImage: 'vs2017-win2016' vmImage: 'vs2017-win2016'
steps: steps:
- checkout: self
fetchDepth: 1
clean: false
- task: NodeTool@0 - task: NodeTool@0
inputs: inputs:
versionSpec: '11.x' versionSpec: '11.x'
...@@ -58,6 +65,9 @@ jobs: ...@@ -58,6 +65,9 @@ jobs:
pool: pool:
vmImage: 'macOS-10.13' vmImage: 'macOS-10.13'
steps: steps:
- checkout: self
fetchDepth: 1
clean: false
- task: NodeTool@0 - task: NodeTool@0
inputs: inputs:
versionSpec: '11.x' versionSpec: '11.x'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment