Skip to content

Commit adbfe19

Browse files
committed
Use new HeadlessRunStep
1 parent 86dc4ac commit adbfe19

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.build/Solution.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,9 @@ public static RocketSurgeonsGithubActionsJob AddVscodeExtensionTests(this Rocket
120120
Run = "npm ci",
121121
WorkingDirectory = Solution.VscodeTestExtensionProjectDirectory
122122
})
123-
.AddStep(new UsingStep("Vscode extension tests") {
124-
Uses = "coactions/setup-xvfb@v1",
125-
With = {
126-
["run"] = "npm run test",
127-
["working-directory"] = Solution.VscodeTestExtensionProjectDirectory
128-
}
123+
.AddStep(new HeadlessRunStep("Vscode extension tests") {
124+
Run = "npm run test",
125+
WorkingDirectory = Solution.VscodeTestExtensionProjectDirectory
129126
});
130127
}
131128
}

0 commit comments

Comments
 (0)