Repository navigation
[feat] canvas: character replacement as a node workflow (mask, depth, composite, FastH3 structure control) #192
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: DSH plugin checks | |
| on: | |
| pull_request: | |
| merge_group: | |
| types: [checks_requested] | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.run_id }} | |
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - id: scope | |
| name: Select plugin scope / 判断插件检查范围 | |
| env: | |
| PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| MERGE_GROUP_BASE_SHA: ${{ github.event.merge_group.base_sha }} | |
| PUSH_BASE_SHA: ${{ github.event.before }} | |
| run: python3 scripts/ci/select_checks.py --dsh | |
| - uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0 | |
| if: steps.scope.outputs.run-dsh != 'false' | |
| with: | |
| node-version-file: .nvmrc | |
| cache: npm | |
| cache-dependency-path: plugins/deepseek-harness/package-lock.json | |
| - name: Install DSH plugin dependencies | |
| if: steps.scope.outputs.run-dsh != 'false' | |
| working-directory: plugins/deepseek-harness | |
| run: npm ci | |
| - name: DSH plugin tests | |
| if: steps.scope.outputs.run-dsh != 'false' | |
| working-directory: plugins/deepseek-harness | |
| run: npm test |