feat(heureka): enables auth for heureka and false positive remediation UX and code improvements #4349
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 Check ✅ | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| push: | |
| branches: | |
| - changeset-release/main | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| actions: read | |
| checks: write | |
| statuses: write | |
| env: | |
| HUSKY: 0 | |
| NODE_VERSION: "22.16.0" | |
| jobs: | |
| reuse-compliance: | |
| uses: cloudoperators/common/.github/workflows/shared-reuse.yaml@main | |
| license-headers: | |
| permissions: | |
| contents: write | |
| uses: cloudoperators/common/.github/workflows/shared-license.yaml@main | |
| with: | |
| apply_header: false | |
| cache-dependencies: | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Use Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| with: | |
| version: 10.32.1 | |
| - name: Get pnpm store directory | |
| id: pnpm-cache | |
| run: | | |
| echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| name: Setup pnpm cache | |
| with: | |
| path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| checks: | |
| needs: cache-dependencies | |
| runs-on: [ubuntu-latest] | |
| strategy: | |
| matrix: | |
| include: | |
| - title: "license-check" | |
| command: "pnpm run check-licenses" | |
| - title: "lint-check" | |
| command: "pnpm lint" | |
| - title: "type-check" | |
| command: "pnpm run typecheck" | |
| - title: "format-check" | |
| command: "pnpm run check-format --check '**/*.{js,jsx,ts,tsx}'" | |
| - title: "dependency-pinning-check" | |
| command: "node .github/scripts/check-pinned-dependencies.js" | |
| - title: "tests" | |
| command: "pnpm build && pnpm run test" | |
| name: ${{ matrix.title }} | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: Use Node.js | |
| uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0 | |
| with: | |
| version: 10.32.1 | |
| - name: Get pnpm store directory | |
| id: pnpm-cache | |
| run: | | |
| echo "pnpm_cache_dir=$(pnpm store path)" >> $GITHUB_OUTPUT | |
| - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | |
| name: Setup pnpm cache | |
| with: | |
| path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} | |
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pnpm-store- | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run "${{ matrix.command }}" command | |
| run: ${{ matrix.command }} |