File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # preview.yml — fork-side pre-push preview gate (CodeQL + Windows).
2+ # Lives on mirror branches (preview/**) in the modacker fork ONLY; never part
3+ # of any upstream PR diff. Trigger: push to preview/** branches.
4+ # Rationale: the upstream marketplace CI covers validate (ubuntu) only;
5+ # CodeQL and Windows evidence before push are the two blind spots this
6+ # workflow closes. Author: modacker, 2026-09-20 (webui-rigor-fix batch).
7+ name : preview
8+ on :
9+ push :
10+ branches : ['preview/**']
11+ workflow_dispatch :
12+ jobs :
13+ codeql :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 20
16+ permissions :
17+ security-events : write
18+ contents : read
19+ steps :
20+ - uses : actions/checkout@v4
21+ - uses : github/codeql-action/init@v3
22+ with :
23+ languages : javascript
24+ - uses : github/codeql-action/analyze@v3
25+ with :
26+ category : ' /language:javascript'
27+ windows :
28+ runs-on : windows-latest
29+ timeout-minutes : 30
30+ steps :
31+ - uses : actions/checkout@v4
32+ - uses : actions/setup-node@v4
33+ with :
34+ node-version : 22
35+ - name : Plugin suite (module-mock flag, full surface)
36+ working-directory : plugins/Wzdhehe/mcode-webui
37+ shell : bash
38+ run : |
39+ node --experimental-test-module-mocks --test test/*.test.js checks/*.check.mjs \
40+ test/integration/*.test.js test/matrix/*.test.js
41+ - name : Plugin suite (flagless, root-gate shape)
42+ working-directory : plugins/Wzdhehe/mcode-webui
43+ shell : bash
44+ run : node --test test/*.test.js test/integration/*.test.js test/matrix/*.test.js
You can’t perform that action at this time.
0 commit comments