chore: 发布 v1.0.27 #56
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| canvas-command: | |
| name: Canvas command (Node ${{ matrix.node-version }}, ${{ matrix.os }}) | |
| runs-on: ${{ matrix.os }} | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node-version: | |
| - "16" | |
| - "20" | |
| os: | |
| - ubuntu-22.04 | |
| - windows-2022 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - name: Test launcher help without installation side effects | |
| run: node scripts/run-help.test.js | |
| - name: Test canvas command | |
| run: node scripts/canvas-command.test.js | |
| - name: Test command discovery and guides | |
| run: node scripts/canvas-command-schema.test.js && node scripts/canvas-command-guides.test.js | |
| - name: Test runtime artifact assembly | |
| run: node scripts/prepare-canvas-runtime.test.js | |
| - name: Test assembled runtime capabilities and output budgets | |
| run: node scripts/canvas-command-runtime.test.js | |
| - name: Test Canvas, Scene3D and Timeline operations | |
| run: npm run test:canvas-operations | |
| - name: Test CLI-only installation and Skill bootstrap | |
| run: node scripts/install-cli.test.js | |
| go: | |
| name: Go tests | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| - run: go test ./... | |
| - run: go vet ./... |