فینورا پرو - سامانه جامع حسابداری و صدور فاکتور
ci(native): gate costly Windows installer behind Linux preflight
Davood Mehraban committed
Nov 23, 2026 at 18:39 UTC
b3e7ba3b4c8babaf743e28801e7e0fd2e41493a6
1 file changed
+20
.github/workflows/windows-vm-native-lab.yml
+20
@@ -57,8 +57,28 @@ concurrency:
57
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
58
59
jobs:
60
+ preflight:
61
+ name: Fast regression and A08 fixture gate before Windows installer
62
+ runs-on: ubuntu-latest
63
+ timeout-minutes: 20
64
+ steps:
65
+ - uses: actions/checkout@v4
66
+ with:
67
+ persist-credentials: false
68
+ - uses: actions/setup-node@v4
69
+ with:
70
+ node-version: '22'
71
+ cache: npm
72
+ - run: npm ci
73
+ - name: Run all unit and integration regression tests
74
+ run: npm test
75
+ - name: Verify A08 fixture and native benchmark contracts
76
+ run: node --test tests/a08-benchmark-fixtures.test.mjs tests/windows-vm-native-performance-contract.test.mjs
77
+ - name: Build frontend before paying for Windows installer
78
+ run: npm run build
79
native-windows-lab:
80
name: Install, login, migrate v6 to v7, verify DPAPI and reinstall
81
+ needs: preflight
82
runs-on: windows-latest
83
timeout-minutes: 75
84
steps: