Skip to content

Update README.md and add CLAUDE.md #99

Update README.md and add CLAUDE.md

Update README.md and add CLAUDE.md #99

Workflow file for this run

name: cdm-ci
on:
pull_request:
branches: [ master ]
workflow_dispatch:
concurrency:
group: ${{ github.ref }}/cdm-ci
cancel-in-progress: true
jobs:
changes:
runs-on: [ self-hosted, workflow-overhead ]
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/cdm-ci.yaml
docs/**
real-cdm-ci:
runs-on: ubuntu-latest
needs: changes
if: ${{ 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: fail if javascript files are not formatted
run: npx prettier **/*.js --check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
faux-cdm-ci:
runs-on: [ self-hosted, workflow-overhead ]
needs: changes
if: ${{ needs.changes.outputs.only-docs == 'true' }}
steps:
- run: 'echo "faux-cdm-ci-complete"'
cdm-ci-complete:
runs-on: [ self-hosted, workflow-overhead ]
needs: [ real-cdm-ci, faux-cdm-ci ]
# the always() will make this step run if one of the "needs" is
# skipped (which should always be the case) but the other
# completes successfully
if: always()
steps:
- run: 'echo "cdm-ci complete"'