修复本地环境一键修复等待与依赖展示 #70
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: Tooling | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/tooling.yml" | |
| - "resources/webui/**" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - ".github/workflows/tooling.yml" | |
| - "resources/webui/**" | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| project-tooling: | |
| name: project-tooling | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| cache-dependency-path: resources/webui/upstream/source/package-lock.json | |
| - name: Install web dependencies | |
| working-directory: resources/webui/upstream/source | |
| run: npm ci | |
| - name: Lint web | |
| working-directory: resources/webui/upstream/source | |
| run: npm run lint | |
| - name: Type-check web | |
| working-directory: resources/webui/upstream/source | |
| run: npm run type-check | |
| - name: Test web fast suite | |
| working-directory: resources/webui/upstream/source | |
| run: npm run test:fast | |
| - name: Build web | |
| working-directory: resources/webui/upstream/source | |
| run: npm run build |