Treasury & Bank Transfer Management System — سامانه مدیریت خزانهداری و حوالههای بانکی
Execute functional, security and edge-case QA in three isolated hosted jobs without deployment
davoodmehraban89 committed
Oct 21, 2026 at 08:49 UTC
3aa08a8b0b014aa1342c8268d6f48b117f115a2f
1 file changed
+58
.github/workflows/v7-production-three-angle-qa-once.yml
new
+58
@@ -0,0 +1,58 @@
1
+name: V7 production HTTP guard three independent QA perspectives
2
+on:
3
+ push:
4
+ paths:
5
+ - .github/workflows/v7-production-three-angle-qa-once.yml
6
+ workflow_dispatch:
7
+permissions:
8
+ contents: read
9
+jobs:
10
+ functional:
11
+ name: Functional QA (hosted Linux)
12
+ runs-on: ubuntu-22.04
13
+ timeout-minutes: 25
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ with:
17
+ persist-credentials: false
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: '22'
21
+ - run: npm ci --ignore-scripts
22
+ - run: npm run typecheck
23
+ - run: npm test
24
+ - run: npm run lint
25
+ - run: npm run build
26
+ - run: npm run smoke
27
+ - run: echo GATE_PASS_FUNCTIONAL_QA_HTTP_GUARD
28
+ security:
29
+ name: Security and code quality (separate hosted Linux)
30
+ runs-on: ubuntu-22.04
31
+ timeout-minutes: 25
32
+ steps:
33
+ - uses: actions/checkout@v4
34
+ with:
35
+ persist-credentials: false
36
+ - uses: actions/setup-node@v4
37
+ with:
38
+ node-version: '22'
39
+ - run: npm ci --ignore-scripts
40
+ - run: npm run typecheck && npm run lint
41
+ - run: npm run build
42
+ - run: node qa/scripts/production-http-security.mjs
43
+ - run: echo GATE_PASS_SECURITY_SPOOF_AND_UNAUTHORIZED_WRITES
44
+ edge:
45
+ name: Edge case and misuse QA (separate hosted Linux)
46
+ runs-on: ubuntu-22.04
47
+ timeout-minutes: 25
48
+ steps:
49
+ - uses: actions/checkout@v4
50
+ with:
51
+ persist-credentials: false
52
+ - uses: actions/setup-node@v4
53
+ with:
54
+ node-version: '22'
55
+ - run: npm ci --ignore-scripts
56
+ - run: npm run build
57
+ - run: node qa/scripts/production-http-edge-cases.mjs
58
+ - run: echo GATE_PASS_EDGE_CASE_QA_UNUSUAL_URLS