HOTSPOT
-
You have an Azure subscription that contains Azure DevOps build pipelines.
You need to implement pipeline caching by using the cache task.
How should you complete the YAML definition? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
//IMG//
variables:
YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn
steps:
- task: Cache@2
inputs:
{{slot1}}: "yarn" | "${{Agent.OS}}" | yarn.lock
{{slot2}}: $(YARN_CACHE_FOLDER)
displayName: Cache Yarn packages
- script: yarn --frozen-lockfileCorrect slot values