build(deps): bump @xyflow/react from 12.9.0 to 12.9.2 (#46) #96
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: Kubescape-headlamp-plugin linting, type checking, testing, and pre-release | |
| on: | |
| push: | |
| branches: ['*'] | |
| permissions: | |
| contents: write | |
| packages: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./ | |
| strategy: | |
| matrix: | |
| node-version: [22.x] | |
| go-version: [1.24.x] | |
| jq-version: ['1.7'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Setup Go ${{ matrix.go-version }} | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Setup jq | |
| uses: dcarbone/install-jq-action@v3 | |
| with: | |
| version: ${{ matrix.jq-version }} | |
| - run: npx @kinvolk/headlamp-plugin lint . | |
| - run: npx @kinvolk/headlamp-plugin format --check . | |
| - run: npx @kinvolk/headlamp-plugin tsc . | |
| - run: npx @kinvolk/headlamp-plugin test . | |
| - run: npx @kinvolk/headlamp-plugin build . | |
| - name: Download WASM and Kubescape files | |
| run: | | |
| mkdir -p dist | |
| make download | |
| - name: Build Golang WASM | |
| run: make build | |
| - name: Create Plugin Archive | |
| run: | | |
| mkdir -p kubescape-plugin | |
| cp package.json dist/* kubescape-plugin | |
| tar -czf ${{ github.event.repository.name }}-latest.tar.gz kubescape-plugin | |
| - name: Set up QEMU | |
| uses: docker/setup-qemu-action@v3 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Login to Quay Container Registry | |
| uses: docker/login-action@v3 | |
| with: | |
| registry: quay.io/kubescape | |
| username: ${{ secrets.QUAYIO_REGISTRY_USERNAME }} | |
| password: ${{ secrets.QUAYIO_REGISTRY_PASSWORD }} | |
| - name: Build and Push image with plugin files. | |
| id: push | |
| uses: docker/build-push-action@v6 | |
| with: | |
| platforms: linux/amd64,linux/arm64 | |
| context: . | |
| push: true | |
| tags: quay.io/${{ github.repository }}:latest |