File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66
7+ permissions :
8+ contents : read
9+
710jobs :
811 test :
912 name : Test on Node.js ${{ matrix.node-version }}
9497 - name : Verify vendor provenance
9598 run : npm run vendor:verify
9699
100+ scripts-windows :
101+ name : Script Typecheck (Windows)
102+ runs-on : windows-latest
103+
104+ steps :
105+ - name : Checkout code
106+ uses : actions/checkout@v4
107+
108+ - name : Setup Node.js
109+ uses : actions/setup-node@v4
110+ with :
111+ node-version : 20.x
112+ cache : npm
113+
114+ - name : Install dependencies
115+ run : npm ci
116+
117+ - name : Typecheck scripts
118+ run : npm run typecheck:scripts
119+
97120 codex-compat :
98121 name : Codex Compatibility Smoke
99122 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -23,4 +23,14 @@ describe("CI workflow parity", () => {
2323 expect ( ci ) . toContain ( command ) ;
2424 }
2525 } ) ;
26+
27+ it ( "keeps Windows script typecheck coverage in push and PR CI" , ( ) => {
28+ const ci = readWorkflow ( "ci.yml" ) ;
29+ const prCi = readWorkflow ( "pr-ci.yml" ) ;
30+
31+ expect ( ci ) . toContain ( "runs-on: windows-latest" ) ;
32+ expect ( ci ) . toContain ( "npm run typecheck:scripts" ) ;
33+ expect ( prCi ) . toContain ( "runs-on: windows-latest" ) ;
34+ expect ( prCi ) . toContain ( "npm run typecheck:scripts" ) ;
35+ } ) ;
2636} ) ;
You can’t perform that action at this time.
0 commit comments