Fix code blocks in anchor links bumping up too high (#7944) #4705
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: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: tools/package-lock.json | |
| - run: npm ci | |
| working-directory: tools | |
| - run: npm run lint | |
| working-directory: tools | |
| - run: npm run build | |
| working-directory: tools | |
| mdx: | |
| name: Validate mdx | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: tools/package-lock.json | |
| - run: npm ci | |
| working-directory: tools | |
| - run: npm run test:build | |
| working-directory: tools |