feat(influxdb): add instance metrics and health/metrics inspectors #142
Workflow file for this run
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: Web | |
| # The site renders the repository's own markdown, so a change to any of it can | |
| # break the build even when no file under web/ was touched. Triggering on all | |
| # markdown costs a needless 30-second build for a file the site does not read, | |
| # and buys never having to edit this list when a document moves. | |
| on: | |
| push: | |
| branches: [main, dev] | |
| paths: | |
| - 'web/**' | |
| - '**/*.md' | |
| - '.github/workflows/web.yml' | |
| pull_request: | |
| branches: [main, dev] | |
| paths: | |
| - 'web/**' | |
| - '**/*.md' | |
| - '.github/workflows/web.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: web-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Production ${{ matrix.mode }} | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| mode: [site, docs] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # The site reads each published version's docs out of its own git ref, | |
| # so a shallow clone cannot build anything but the current branch. | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 11 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| cache: pnpm | |
| cache-dependency-path: web/pnpm-lock.yaml | |
| - name: Install | |
| working-directory: web | |
| run: pnpm install --frozen-lockfile | |
| - name: Install MCP worker | |
| working-directory: web/mcp | |
| run: pnpm install --frozen-lockfile | |
| - name: Types (MCP worker) | |
| working-directory: web/mcp | |
| run: pnpm check | |
| - name: Format | |
| working-directory: web | |
| run: pnpm format:check | |
| - name: Types | |
| working-directory: web | |
| run: DOCS_MODE=${{ matrix.mode }} pnpm check | |
| - name: Build | |
| working-directory: web | |
| run: pnpm build:${{ matrix.mode }} | |
| - name: Audit distribution | |
| working-directory: web | |
| run: pnpm audit:dist --mode ${{ matrix.mode }} | |
| - name: Check for links to pages that do not exist | |
| working-directory: web | |
| run: node scripts/check-links.ts |