ci: add label-gated issue investigation via Claude #1687
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: CI | |
| on: | |
| push: | |
| branches: [master, beta] | |
| pull_request: | |
| branches: [master, beta] | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| ARTIFACTORY_URL: ${{ vars.ARTIFACTORY_URL }} | |
| jobs: | |
| ci: | |
| name: Lint + Build + Test | |
| runs-on: ubuntu-latest-large | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Artifactory OIDC Auth | |
| uses: ./.github/actions/artifactory-oidc | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - name: Install dependencies | |
| run: | | |
| set -o pipefail | |
| yarn install --immutable 2>&1 | tee /tmp/yarn-install.log | |
| - name: Curation Audit (on install failure) | |
| if: failure() | |
| uses: ./.github/actions/curation-audit | |
| with: | |
| install-log: /tmp/yarn-install.log | |
| - name: Lint (eslint) | |
| run: yarn lint | |
| - name: Install treefmt + shfmt | |
| run: | | |
| curl -fsSL https://github.com/numtide/treefmt/releases/download/v2.5.0/treefmt_2.5.0_linux_amd64.tar.gz | sudo tar -xz -C /usr/local/bin treefmt | |
| sudo curl -fsSL -o /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.13.1/shfmt_v3.13.1_linux_amd64 | |
| sudo chmod +x /usr/local/bin/shfmt | |
| - name: Lint (formatting) | |
| run: yarn format:check | |
| - name: Build | |
| run: yarn build | |
| - name: Typecheck | |
| run: yarn typecheck | |
| - name: Test | |
| run: yarn test | |
| commitlint: | |
| name: Commitlint | |
| if: github.event_name == 'pull_request' | |
| runs-on: ubuntu-latest-large | |
| permissions: | |
| contents: read | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Artifactory OIDC Auth | |
| uses: ./.github/actions/artifactory-oidc | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 22 | |
| - run: corepack enable | |
| - name: Install dependencies | |
| run: | | |
| set -o pipefail | |
| yarn install --immutable 2>&1 | tee /tmp/yarn-install.log | |
| - name: Curation Audit (on install failure) | |
| if: failure() | |
| uses: ./.github/actions/curation-audit | |
| with: | |
| install-log: /tmp/yarn-install.log | |
| - name: Validate PR title | |
| run: echo "$PR_TITLE" | yarn commitlint | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} |