Skip to content

Commit d2570eb

Browse files
author
moc
committed
ci: fork-side preview mirror (codeql + windows dual-mode) for the fix head
1 parent 54af814 commit d2570eb

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/preview.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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

0 commit comments

Comments
 (0)