Deep dive series legend with rowSpan grouping and sticky labels #142
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: cdm-ci | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.ref }}/cdm-ci | |
| cancel-in-progress: true | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| only-docs: ${{ steps.filter.outputs.only_changed }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: tj-actions/changed-files@v47 | |
| id: filter | |
| with: | |
| files: | | |
| LICENSE | |
| *.md | |
| **/*.md | |
| .github/rulesets/** | |
| .github/workflows/run-crucible-tracking.yaml | |
| .github/workflows/crucible-ci.yaml | |
| .github/workflows/fork-check.yaml | |
| .github/workflows/controller-build.yaml | |
| .github/workflows/cdm-ci.yaml | |
| docs/** | |
| - name: Display changes | |
| run: echo '${{ toJSON(steps.filter.outputs) }}' | jq . | |
| real-cdm-ci: | |
| runs-on: ubuntu-latest | |
| needs: changes | |
| if: ${{ github.event.pull_request.head.repo.fork != true && (github.event_name == 'workflow_dispatch' || needs.changes.outputs.only-docs != 'true') }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: "22.22.0" | |
| - name: install cdmq dependencies | |
| run: npm install --no-fund --no-audit | |
| working-directory: queries/cdmq | |
| - name: install and build web-ui | |
| run: | | |
| if [ -d "queries/cdmq/web-ui" ] && [ -f "queries/cdmq/web-ui/package.json" ]; then | |
| cd queries/cdmq/web-ui | |
| npm install --no-fund --no-audit | |
| npm run build | |
| else | |
| echo "web-ui directory not found, skipping build" | |
| fi | |
| faux-cdm-ci: | |
| runs-on: ubuntu-latest | |
| needs: changes | |
| if: ${{ github.event.pull_request.head.repo.fork != true && github.event_name != 'workflow_dispatch' && needs.changes.outputs.only-docs == 'true' }} | |
| steps: | |
| - run: 'echo "faux-cdm-ci-complete"' | |
| cdm-ci-complete: | |
| runs-on: ubuntu-latest | |
| needs: [ real-cdm-ci, faux-cdm-ci ] | |
| if: always() | |
| steps: | |
| - name: Check Results | |
| if: >- | |
| contains(needs.*.result, 'failure') || | |
| contains(needs.*.result, 'cancelled') | |
| run: exit 1 | |
| - run: 'echo "cdm-ci complete"' |