fix(ci): prime Electron before parallel Windows tests
ForgeFlow quality gate / quality (pull_request) Successful in 5m8s
Managed validation / full (pull_request) Successful in 24s
ForgeFlow quality gate / secret-scan (pull_request) Successful in 14s

This commit is contained in:
NuklearRabbit
2026-08-29 00:52:34 +02:00
parent 49f43b3875
commit d3c6e46ef0
+5 -1
View File
@@ -29,12 +29,16 @@ jobs:
node-version: 22
cache: npm
- run: npm ci
# The native runner deliberately skips Electron's install-time binary
# download. Prime it once before Node's parallel test workers require
# Electron, otherwise they can race while creating the same directory.
- run: npx electron --version
- run: npm run quality
- run: npx playwright install chromium
- run: npm run test:browser:ci
- name: Preserve browser failure evidence
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3.2.2-node20
with:
name: forgeflow-browser-failure-evidence
path: artifacts/