-
Notifications
You must be signed in to change notification settings - Fork 17
Yarn Installer
Sandor edited this page Jun 2, 2019
·
2 revisions
With this task you can install a specific version of yarn and make it available for the rest of your build.
You will find the task in the "Utility" category.
- Version of Yarn to install - A version or version range that specifies the Yarn version to make available on the path. Use x as a wildcard. See the list of available Yarn versions.
- Always download the latest matching version - Always check for and download the latest available version of Yarn which satisfies the version spec. This option will also always incur download time, even if the selected version of NuGet is already cached.\n\nEnabling this option could cause unexpected build breaks when a new version of Yarn is released.
steps
- task: geeklearningio.gl-vsts-tasks-yarn-dev.yarn-installer-task.YarnInstaller@3
displayName: 'Use Yarn 1.10.x'
inputs:
versionSpec: 1.10.x
checkLatest: true
includePrerelease: false