-
Notifications
You must be signed in to change notification settings - Fork 17
Yarn
Sandor edited this page Nov 27, 2019
·
5 revisions
With this task, you can invoke yarn.
You will find the task in the "Utility" category.
- Project Directory - Directory where you want to execute yarn.
- Arguments - (Optionnal) state your additionnal arguments here.
-
Production Install - (Optionnal) If checked, it appends
--production
Using specified feed:
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@3
displayName: 'Custom Package in Custom Feed Directly Specified'
inputs:
projectDirectory: src/YarnCustomPackageNoNpmRc
arguments: --verbose
customRegistry: useFeed
customFeed: '00000000-0000-0000-0000-000000000000'
Or using .npmrc
:
- task: geeklearningio.gl-vsts-tasks-yarn.yarn-task.Yarn@3
displayName: 'Custom Package in Custom Feed Directly Specified'
inputs:
projectDirectory: src/YarnCustomPackageNoNpmRc
arguments: --verbose