Skip to content

Commit 4f32ba5

Browse files
authored
fix: use node and yarn even if cache is present (#97775)
Yarn is used later on in the build process; if we don't get it because there's a cached build, it will fail, see https://dev.azure.com/monacotools/Monaco/_build/results?buildId=75247&view=logs&j=c7493abb-a1f4-533f-2d24-71780a69f247&t=f5d49255-f229-5ab6-a621-e5b2039a4806
1 parent 45e1cbd commit 4f32ba5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

build/azure-pipelines/product-compile.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@ steps:
1717
- task: NodeTool@0
1818
inputs:
1919
versionSpec: "12.13.0"
20-
condition: and(succeeded(), ne(variables['CacheExists-Compilation'], 'true'))
2120

2221
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-installer-task.YarnInstaller@2
2322
inputs:
2423
versionSpec: "1.x"
25-
condition: and(succeeded(), ne(variables['CacheExists-Compilation'], 'true'))
2624

2725
- task: AzureKeyVault@1
2826
displayName: 'Azure Key Vault: Get Secrets'

0 commit comments

Comments
 (0)