chore(deps): Bump the npm-dependencies group across 1 directory with 10 updates #126
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: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| GO_VERSION: "1.26" | |
| NODE_VERSION: "22" | |
| jobs: | |
| # --- Extension consistency check --- | |
| consistency: | |
| name: Extension Consistency | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Check extension registration consistency | |
| run: bash hack/check-extension-consistency.sh | |
| # --- Go backend linting and vetting --- | |
| go-lint: | |
| name: Go Lint | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| extension: [metrics, backups, networking, logs, vulnerabilities, events] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| cache-dependency-path: extensions/${{ matrix.extension }}/backend/go.sum | |
| - name: Vet | |
| working-directory: extensions/${{ matrix.extension }}/backend | |
| run: go vet ./... | |
| - name: Build | |
| working-directory: extensions/${{ matrix.extension }}/backend | |
| run: CGO_ENABLED=0 go build -o /dev/null ./cmd/ | |
| # --- Go integration tests module --- | |
| go-test-lint: | |
| name: Go Test Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| cache-dependency-path: tests/go.sum | |
| - name: Vet | |
| working-directory: tests | |
| run: go vet ./... | |
| # --- UI extension builds --- | |
| ui-build: | |
| name: Build UI Extensions | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| extension: [metrics, backups, networking, logs, vulnerabilities, events, argoplane] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: npm | |
| cache-dependency-path: | | |
| extensions/shared/package-lock.json | |
| extensions/${{ matrix.extension }}/ui/package-lock.json | |
| - name: Install shared dependencies | |
| working-directory: extensions/shared | |
| run: npm ci | |
| - name: Install dependencies | |
| working-directory: extensions/${{ matrix.extension }}/ui | |
| run: npm ci | |
| - name: Build | |
| working-directory: extensions/${{ matrix.extension }}/ui | |
| run: npm run build | |
| - name: Verify bundle exists | |
| run: test -f extensions/${{ matrix.extension }}/ui/dist/extension-${{ matrix.extension }}.js | |
| # --- Docs site build --- | |
| docs-build: | |
| name: Build Docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: npm | |
| cache-dependency-path: services/docs/package-lock.json | |
| - name: Install dependencies | |
| working-directory: services/docs | |
| run: npm ci | |
| - name: Build | |
| working-directory: services/docs | |
| run: npm run build | |
| # --- Helm chart lint --- | |
| helm-lint: | |
| name: Helm Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: azure/setup-helm@v5 | |
| - name: Lint chart | |
| run: helm lint deploy/helm/argoplane/ | |
| - name: Template chart (default values) | |
| run: helm template argoplane deploy/helm/argoplane/ --namespace argocd > /dev/null | |
| # --- Docker build test (no push) --- | |
| docker-build: | |
| name: Docker Build | |
| runs-on: ubuntu-latest | |
| needs: [ui-build] | |
| strategy: | |
| matrix: | |
| extension: [metrics, backups, networking, logs, vulnerabilities, events] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: docker/setup-buildx-action@v4 | |
| - name: Build backend image | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: extensions/${{ matrix.extension }}/backend | |
| push: false | |
| cache-from: type=gha,scope=${{ matrix.extension }} | |
| cache-to: type=gha,mode=max,scope=${{ matrix.extension }} |