chore(deps): bump @babel/core from 7.28.4 to 7.29.6 in /client #287
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: Lint & Test Charts | |
| on: pull_request | |
| jobs: | |
| lint-test: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@dda3372f752e03dde6b3237bc9431cdc2f7a02a2 # v5.0.0 | |
| with: | |
| version: v3.14.4 | |
| - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 | |
| with: | |
| python-version: '3.x' | |
| check-latest: true | |
| - name: Set up chart-testing | |
| uses: helm/chart-testing-action@6ec842c01de15ebb84c8627d2744a0c2f2755c9f # v2.8.0 | |
| - name: Run chart-testing (list-changed) | |
| id: list-changed | |
| run: | | |
| changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }}) | |
| if [[ -n "$changed" ]]; then | |
| echo "changed=true" >> "$GITHUB_OUTPUT" | |
| joined=$(echo "$changed" | paste -sd "," -) | |
| echo "changed_charts=$joined" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Run chart-testing (lint) | |
| if: steps.list-changed.outputs.changed == 'true' | |
| run: ct lint --target-branch ${{ github.event.repository.default_branch }} | |
| - name: Create kind cluster | |
| if: steps.list-changed.outputs.changed == 'true' | |
| uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0 | |
| - name: Run chart-testing (install) | |
| if: steps.list-changed.outputs.changed == 'true' | |
| continue-on-error: true | |
| run: | | |
| # Additional arguments for Helm. Must be passed as a single quoted string | |
| # https://github.com/helm/chart-testing/blob/main/doc/ct_install.md | |
| ct install --target-branch ${{ github.event.repository.default_branch }} --helm-extra-args='--timeout 300s' | |
| - name: Helm install fallback for changed charts | |
| if: steps.list-changed.outputs.changed == 'true' | |
| run: | | |
| echo "Running Helm installs for changed charts..." | |
| charts="${{ steps.list-changed.outputs.changed_charts }}" | |
| IFS=',' read -ra chart_array <<< "$charts" | |
| for chart_path in "${chart_array[@]}"; do | |
| chart_name=$(basename "$chart_path") | |
| echo "Installing $chart_name from $chart_path..." | |
| helm install "$chart_name" "$chart_path" \ | |
| --namespace "${chart_name}-ci" \ | |
| --create-namespace \ | |
| --wait=false \ | |
| --timeout 30s | |
| done |