Gate releases on the complete Windows quality suite
Managed validation / full (pull_request) Successful in 32s

This commit is contained in:
2026-08-30 00:47:56 +02:00
parent 255aec83d4
commit 0c1f473436
+8 -2
View File
@@ -79,11 +79,17 @@ jobs:
if ($LASTEXITCODE -ne 0) { throw "npm ci failed." } if ($LASTEXITCODE -ne 0) { throw "npm ci failed." }
& cmd.exe /d /s /c "npx electron --version" & cmd.exe /d /s /c "npx electron --version"
if ($LASTEXITCODE -ne 0) { throw "Electron preflight failed." } if ($LASTEXITCODE -ne 0) { throw "Electron preflight failed." }
& cmd.exe /d /s /c "npm run check" & cmd.exe /d /s /c "npm run quality"
if ($LASTEXITCODE -ne 0) { throw "ForgeFlow release quality gate failed." } if ($LASTEXITCODE -ne 0) { throw "ForgeFlow release quality gate failed." }
& cmd.exe /d /s /c "npx playwright install chromium"
if ($LASTEXITCODE -ne 0) { throw "Playwright Chromium installation failed." }
& cmd.exe /d /s /c "npm run test:browser:ci"
if ($LASTEXITCODE -ne 0) { throw "ForgeFlow browser acceptance suite failed." }
& cmd.exe /d /s /c "npm audit --omit=dev --audit-level=high"
if ($LASTEXITCODE -ne 0) { throw "ForgeFlow production dependency audit failed." }
& cmd.exe /d /s /c "npm run dist:win" & cmd.exe /d /s /c "npm run dist:win"
if ($LASTEXITCODE -ne 0) { throw "ForgeFlow Windows build/signing failed." } if ($LASTEXITCODE -ne 0) { throw "ForgeFlow Windows build/signing failed." }
& cmd.exe /d /s /c "npm run release:binary" & cmd.exe /d /s /c "npm run release:binary"
if ($LASTEXITCODE -ne 0) { throw "ForgeFlow Gitea release publication failed." } if ($LASTEXITCODE -ne 0) { throw "ForgeFlow Gitea release publication failed." }
Write-Host "ForgeFlow $version was built, signed and published from exact main HEAD $env:GITEA_SHA." Write-Host "ForgeFlow $version was fully validated, built, signed and published from exact main HEAD $env:GITEA_SHA."