Generate PowerShell completions in ui_tests CI job
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 <noreply@anthropic.com>
This commit is contained in:
parent
f2a864b540
commit
97c899f6f2
1 changed files with 6 additions and 0 deletions
6
.github/workflows/LANCommander.PR.yml
vendored
6
.github/workflows/LANCommander.PR.yml
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue