mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
skip dependency step when cache exists
This commit is contained in:
parent
a0c5920e71
commit
fa5e1feaab
1 changed files with 2 additions and 0 deletions
|
@ -40,9 +40,11 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
key: 'yarn | yarn.lock'
|
key: 'yarn | yarn.lock'
|
||||||
path: 'node_modules'
|
path: 'node_modules'
|
||||||
|
cacheHitVar: CACHE_RESTORED
|
||||||
|
|
||||||
- script: 'yarn install --pure-lockfile'
|
- script: 'yarn install --pure-lockfile'
|
||||||
displayName: 'Install Dependencies'
|
displayName: 'Install Dependencies'
|
||||||
|
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||||
|
|
||||||
- script: 'yarn build:development'
|
- script: 'yarn build:development'
|
||||||
displayName: 'Build Development'
|
displayName: 'Build Development'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue