NpmCiAliases.

NpmCi(ICakeContext, Action<NpmCiSettings>) Method

Summary

Cis packages using the settings returned by a configurator.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm
Containing Type
NpmCiAliases

Syntax

public static void NpmCi(this ICakeContext context, Action<NpmCiSettings> configurator)

Examples

Use specific log level ('npm ci')

NpmCi(settings => settings.WithLogLevel(NpmLogLevel.Verbose));

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
configurator Action<NpmCiSettings> The settings configurator.

Return Value

Type Description
void