mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
check cache before installing dependencies
This commit is contained in:
parent
2ecba9cd14
commit
62e8d22f66
1 changed files with 4 additions and 4 deletions
|
@ -35,15 +35,15 @@ jobs:
|
|||
inputs:
|
||||
versionSpec: '10.x'
|
||||
|
||||
- script: 'yarn install'
|
||||
displayName: 'Install Dependencies'
|
||||
|
||||
- task: Cache@2
|
||||
displayName: 'Cache Dependencies'
|
||||
displayName: 'Check Cache'
|
||||
inputs:
|
||||
key: 'yarn | yarn.lock'
|
||||
path: '$(Pipeline.Workspace)/node_modules'
|
||||
|
||||
- script: 'yarn install'
|
||||
displayName: 'Install Dependencies'
|
||||
|
||||
- script: 'yarn build'
|
||||
displayName: 'Build Development'
|
||||
condition: eq(variables['BuildConfiguration'], 'development')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue