cache build dependencies on ci
This commit is contained in:
parent
2cb68b9a24
commit
89ba9cf5d7
1 changed files with 6 additions and 0 deletions
|
@ -38,6 +38,12 @@ jobs:
|
|||
- script: 'yarn install'
|
||||
displayName: 'Install Dependencies'
|
||||
|
||||
- task: Cache@2
|
||||
displayName: 'Cache Dependencies'
|
||||
inputs:
|
||||
key: 'yarn | yarn.lock'
|
||||
path: '$(Pipeline.Workspace)/.yarn'
|
||||
|
||||
- script: 'yarn build'
|
||||
displayName: 'Build Development'
|
||||
condition: eq(variables['BuildConfiguration'], 'development')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue