Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Use this task to install npm packages from GitHub.
# Download Github Npm Package v1
# Install npm packages from GitHub.
- task: DownloadGithubNpmPackage@1
inputs:
packageName: # string. Required. Package Name.
version: # string. Required. Package Version.
externalRegistryCredentials: # string. Alias: externalEndpoints. Required. Credentials for registry from GitHub.
#installDirectory: # string. Alias: packagesDirectory. Destination directory.
packageName
- Package Name
string
. Required.
Specifies the name of the package to download from GitHub.
version
- Package Version
string
. Required.
Specifies the version of the package to download from GitHub.
externalRegistryCredentials
- Credentials for registry from GitHub
Input alias: externalEndpoints
. string
. Required.
Specifies the credentials to use for external registry from GitHub.
installDirectory
- Destination directory
Input alias: packagesDirectory
. string
.
Specifies the folder where packages are installed. If no folder is specified, packages are restored into the default system working directory.
All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.
None.
Requirement | Description |
---|---|
Pipeline types | YAML, Classic build, Classic release |
Runs on | Agent, DeploymentGroup |
Demands | Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: npm |
Capabilities | This task does not satisfy any demands for subsequent tasks in the job. |
Command restrictions | Any |
Settable variables | Any |
Agent version | 2.144.0 or greater |
Task category | Package |
Requirement | Description |
---|---|
Pipeline types | YAML, Classic build, Classic release |
Runs on | Agent, DeploymentGroup |
Demands | Self-hosted agents must have capabilities that match the following demands to run jobs that use this task: npm |
Capabilities | This task does not satisfy any demands for subsequent tasks in the job. |
Command restrictions | Any |
Settable variables | Any |
Agent version | 2.115.0 or greater |
Task category | Package |
Events
Mar 17, 11 PM - Mar 21, 11 PM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now