@@ -10,25 +10,24 @@ steps:
1010 - task : NodeTool@0
1111 inputs :
1212 versionSpec : " 10.15.1"
13- - task : geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
14- inputs :
15- versionSpec : " 1.10.1"
1613- task : 1ESLighthouseEng.PipelineArtifactCaching.RestoreCacheV1.RestoreCache@1
1714 inputs :
1815 keyfile : ' **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
1916 targetfolder : ' **/node_modules, !**/node_modules/**/node_modules'
2017 vstsFeed : ' $(ArtifactFeed)'
21- condition : eq(variables['System.PullRequest.PullRequestId'], '')
18+ - task : geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
19+ inputs :
20+ versionSpec : " 1.10.1"
2221- script : |
2322 yarn
2423 displayName : Install Dependencies
25- condition : or( ne(variables['System.PullRequest.PullRequestId'], ''), ne(variables[' CacheRestored'], 'true') )
24+ condition : ne(variables['CacheRestored'], 'true')
2625- task : 1ESLighthouseEng.PipelineArtifactCaching.SaveCacheV1.SaveCache@1
2726 inputs :
2827 keyfile : ' **/yarn.lock, !**/node_modules/**/yarn.lock, !**/.*/**/yarn.lock'
2928 targetfolder : ' **/node_modules, !**/node_modules/**/node_modules'
3029 vstsFeed : ' $(ArtifactFeed)'
31- condition : and(succeeded(), eq(variables['System.PullRequest.PullRequestId'], ''), ne(variables['CacheRestored'], 'true'))
30+ condition : and(succeeded(), ne(variables['CacheRestored'], 'true'))
3231- script : |
3332 yarn gulp electron-x64
3433 displayName : Download Electron
0 commit comments