diff --git a/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/InstallPlaywrightTask.cs b/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/InstallPlaywrightTask.cs new file mode 100644 index 0000000..fd99490 --- /dev/null +++ b/ADotNet/Models/Pipelines/GithubPipelines/DotNets/Tasks/InstallPlaywrightTask.cs @@ -0,0 +1,25 @@ +// --------------------------------------------------------------------------- +// Copyright (c) Hassan Habib & Shri Humrudha Jagathisun All rights reserved. +// Licensed under the MIT License. +// See License.txt in the project root for license information. +// --------------------------------------------------------------------------- + +namespace ADotNet.Models.Pipelines.GithubPipelines.DotNets.Tasks +{ + /// + /// A task to install Microsoft.Playwright.CLI. + /// + public class InstallPlaywrightTask : GithubTask + { + /// + /// Gets or sets the name of task. + /// + public override string Name { get; set; } = "Install Microsoft.Playwright.CLI."; + + /// + /// Gets or sets the command to execute for the task. + /// The default value is: "dotnet tool install --global Microsoft.Playwright.CLI". + /// + public override string Run { get; set; } = "dotnet tool install --global Microsoft.Playwright.CLI"; + } +}