Intelligence, Advanced Charting & Trading Platform
ci(chartnova): validate lightweight catalog source purity and v26 integration
davoodmehraban89 committed
Oct 15, 2026 at 14:45 UTC
15c524df701148f9047835a00ed3951cdbf0f536
1 file changed
+32
.github/workflows/chartnova-light-catalog.yml
new
+32
@@ -0,0 +1,32 @@
1
+name: ChartNova light catalog and lazy history CI
2
+on:
3
+ pull_request:
4
+ paths:
5
+ - 'packages/market-domain/src/market-catalog-summary.mjs'
6
+ - 'packages/market-domain/test/market-catalog-summary.test.mjs'
7
+ - 'scripts/patch-chartnova-v26-light-catalog.mjs'
8
+ - 'scripts/patch-chartnova-v26-light-catalog.test.mjs'
9
+ - '.github/workflows/chartnova-light-catalog.yml'
10
+ workflow_dispatch:
11
+permissions:
12
+ contents: read
13
+jobs:
14
+ light-market:
15
+ runs-on: ubuntu-latest
16
+ timeout-minutes: 5
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - uses: actions/setup-node@v4
20
+ with:
21
+ node-version: '22'
22
+ - name: Validate compact market catalog contract
23
+ run: node --test packages/market-domain/test/market-catalog-summary.test.mjs
24
+ - name: Validate fail-closed v26 source integration and API compatibility
25
+ run: node --test scripts/patch-chartnova-v26-light-catalog.test.mjs
26
+ - name: Block real-trade and external-network dependencies
27
+ shell: bash
28
+ run: |
29
+ if grep -En 'from ["\x27](http|ws)|import\(["\x27](http|ws)|placeOrder|executeTrade|brokerApi|apiKey' packages/market-domain/src/market-catalog-summary.mjs scripts/patch-chartnova-v26-light-catalog.mjs; then
30
+ echo 'Unexpected external dependency or trading action in lightweight market integration'
31
+ exit 1
32
+ fi