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

Add prepare script to allow CI to skip build

This commit is contained in:
Bill Thornton 2020-11-17 22:20:34 -05:00
parent f59003568f
commit c6862bfdfe
4 changed files with 12 additions and 7 deletions

View file

@ -21,15 +21,15 @@ jobs:
versionSpec: '12.x'
- task: Cache@2
displayName: 'Check Cache'
displayName: 'Cache node_modules'
inputs:
key: 'yarn | yarn.lock'
path: 'node_modules'
cacheHitVar: CACHE_RESTORED
- script: 'yarn install --frozen-lockfile'
displayName: 'Install Dependencies'
condition: ne(variables.CACHE_RESTORED, 'true')
env:
SKIP_PREPARE: 'true'
- script: 'yarn build:development'
displayName: 'Build Development'

View file

@ -12,15 +12,15 @@ jobs:
versionSpec: '12.x'
- task: Cache@2
displayName: 'Check Cache'
displayName: 'Cache node_modules'
inputs:
key: 'yarn | yarn.lock'
path: 'node_modules'
cacheHitVar: CACHE_RESTORED
- script: 'yarn install --frozen-lockfile'
displayName: 'Install Dependencies'
condition: ne(variables.CACHE_RESTORED, 'true')
env:
SKIP_PREPARE: 'true'
- script: 'yarn run lint --quiet'
displayName: 'Run ESLint'