1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

use cache for linting as well

This commit is contained in:
dkanada 2020-03-17 02:17:12 +09:00
parent 3958548b1f
commit 38b7da8f34

View file

@ -84,8 +84,16 @@ jobs:
inputs:
versionSpec: '10.x'
- script: 'yarn install'
- task: Cache@2
displayName: 'Check Cache'
inputs:
key: 'yarn | yarn.lock'
path: 'node_modules'
cacheHitVar: CACHE_RESTORED
- script: 'yarn install --pure-lockfile'
displayName: 'Install Dependencies'
condition: ne(variables.CACHE_RESTORED, 'true')
- script: 'yarn run lint'
displayName: 'Run ESLint'