mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Re-enable cache on CI
This commit is contained in:
parent
ca4d60c648
commit
22e1a9b269
1 changed files with 14 additions and 14 deletions
|
@ -33,16 +33,16 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '12.x'
|
versionSpec: '12.x'
|
||||||
|
|
||||||
#- task: Cache@2
|
- task: Cache@2
|
||||||
# displayName: 'Check Cache'
|
displayName: 'Check Cache'
|
||||||
# inputs:
|
inputs:
|
||||||
# key: 'yarn | yarn.lock'
|
key: 'yarn | yarn.lock'
|
||||||
# path: 'node_modules'
|
path: 'node_modules'
|
||||||
# cacheHitVar: CACHE_RESTORED
|
cacheHitVar: CACHE_RESTORED
|
||||||
|
|
||||||
- script: 'yarn install --frozen-lockfile'
|
- script: 'yarn install --frozen-lockfile'
|
||||||
displayName: 'Install Dependencies'
|
displayName: 'Install Dependencies'
|
||||||
# condition: ne(variables.CACHE_RESTORED, 'true')
|
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||||
|
|
||||||
- script: 'yarn build:development'
|
- script: 'yarn build:development'
|
||||||
displayName: 'Build Development'
|
displayName: 'Build Development'
|
||||||
|
@ -87,16 +87,16 @@ jobs:
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '12.x'
|
versionSpec: '12.x'
|
||||||
|
|
||||||
#- task: Cache@2
|
- task: Cache@2
|
||||||
# displayName: 'Check Cache'
|
displayName: 'Check Cache'
|
||||||
# inputs:
|
inputs:
|
||||||
# key: 'yarn | yarn.lock'
|
key: 'yarn | yarn.lock'
|
||||||
# path: 'node_modules'
|
path: 'node_modules'
|
||||||
# cacheHitVar: CACHE_RESTORED
|
cacheHitVar: CACHE_RESTORED
|
||||||
|
|
||||||
- script: 'yarn install --frozen-lockfile'
|
- script: 'yarn install --frozen-lockfile'
|
||||||
displayName: 'Install Dependencies'
|
displayName: 'Install Dependencies'
|
||||||
# condition: ne(variables.CACHE_RESTORED, 'true')
|
condition: ne(variables.CACHE_RESTORED, 'true')
|
||||||
|
|
||||||
- script: 'yarn run lint --quiet'
|
- script: 'yarn run lint --quiet'
|
||||||
displayName: 'Run ESLint'
|
displayName: 'Run ESLint'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue