Remove node16 from the runner. (#3503)

This commit is contained in:
Tingluo Huang
2024-10-16 22:42:43 -04:00
committed by GitHub
parent 4a99838fa2
commit 59ec9b4139
14 changed files with 47 additions and 193 deletions

View File

@@ -30,8 +30,8 @@ namespace GitHub.Runner.Common.Tests.Worker
[Theory]
[Trait("Level", "L0")]
[Trait("Category", "Worker")]
[InlineData("node12", "node16")]
[InlineData("node16", "node16")]
[InlineData("node12", "node20")]
[InlineData("node16", "node20")]
[InlineData("node20", "node20")]
public void IsNodeVersionUpgraded(string inputVersion, string expectedVersion)
{
@@ -70,7 +70,6 @@ namespace GitHub.Runner.Common.Tests.Worker
// Assert.
Assert.Equal(expectedVersion, handler.Data.NodeVersion);
Environment.SetEnvironmentVariable(Constants.Variables.Actions.AllowActionsUseUnsecureNodeVersion, null);
}
}
}