The NPM Update action is used to update NPM packages in your workspace to the latest version
Name
A friendly name for this action (will be displayed in the actions workflow area).
Enabled
Determines if this action will be run within the relevant stage.
Package Directory
Where the package or package to be updated are located. Relative paths will be anchored to the workspace folder.
Package Name(s)
Name or names of packages to be updated separated by a space. Leave empy to update all packages.
Options
Include development dependencies
Tick to set the --dev argument and cause the devDependencies node in the pacakge.json to be processed when checking which package versions to update.
Save updated version(s) in package
Tick this to apply the --save argument which will save the new version as the minimum required dependency in package.json.
Log standard output
Tick this to log output from the NPM command line
Verbose logging
Tick this to pass the --verbose argument to get more detailed output from the NPM command line.
Environment Variables
Multiple environment variables can be defined - one per line. These are set before the NPM command line is run.