From 97c899f6f2ac7ffbc4109c578b59b11d082ec04e Mon Sep 17 00:00:00 2001 From: Pat Hartl Date: Tue, 23 Jun 2026 22:26:42 -0500 Subject: [PATCH] Generate PowerShell completions in ui_tests CI job MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Monaco editor's PowerShellCompletions.g.ts is gitignored and required by the frontend webpack build. The in-build MSBuild target uses Windows path separators that don't resolve on the Linux runner, so the ui_tests job must generate the file explicitly first — mirroring the server build jobs which already do this. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/LANCommander.PR.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/LANCommander.PR.yml b/.github/workflows/LANCommander.PR.yml index 020cab41..72c8157d 100644 --- a/.github/workflows/LANCommander.PR.yml +++ b/.github/workflows/LANCommander.PR.yml @@ -80,6 +80,12 @@ jobs: npm install --prefix ./LANCommander.UI npm install --prefix ./LANCommander.Server + # The Monaco editor's PowerShell completions are generated (gitignored) and + # required by the frontend webpack build. The in-build MSBuild target uses + # Windows-style paths, so generate explicitly here for the Linux runner. + - name: Generate PowerShell Completions + run: dotnet run --project ./LANCommander.CompletionGenerator/LANCommander.CompletionGenerator.csproj -- ./LANCommander.UI/Components/MonacoCodeEditor/PowerShellCompletions.g.ts + - name: Restore dependencies run: dotnet restore LANCommander.Server.UI.Tests