Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: add checkout config in azure #3498

Merged
merged 1 commit into from
Feb 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 16 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -44,6 +48,9 @@ jobs:
pool:
vmImage: 'vs2017-win2016'
steps:
- checkout: self
fetchDepth: 1
clean: false
- task: NodeTool@0
inputs:
versionSpec: '11.x'
Expand All @@ -58,6 +65,9 @@ jobs:
pool:
vmImage: 'macOS-10.13'
steps:
- checkout: self
fetchDepth: 1
clean: false
- task: NodeTool@0
inputs:
versionSpec: '11.x'
Expand Down