依赖按能力分层(四级语音阶梯)+ 跨平台 Python 修复 #19
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Electron Windows | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: windows-2025 | |
| timeout-minutes: 15 | |
| defaults: | |
| run: | |
| working-directory: electron | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "22.21.1" | |
| cache: npm | |
| cache-dependency-path: electron/package-lock.json | |
| - name: Install locked dependencies | |
| run: npm ci | |
| - name: Typecheck and build renderer | |
| run: npm run build | |
| - name: Audit desktop runtime and build supply chain | |
| run: npm audit --audit-level=high |