diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd3943d8c..ec7a593bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -165,6 +165,18 @@ jobs: run: docker compose down working-directory: ./${{ matrix.workingDir }} + - name: Check plugin.json + run: | + cp -r dist/ ${{ matrix.workingDir }} + zip ${{ matrix.workingDir }}.zip ${{ matrix.workingDir }} -r + rm -r ${{ matrix.workingDir }} + + docker run --pull=always \ + -v $PWD/${{ matrix.workingDir }}.zip:/archive.zip \ + grafana/plugin-validator-cli -analyzer=metadatavalid /archive.zip + + working-directory: ./${{ matrix.workingDir }} + - name: Archive E2E output uses: actions/upload-artifact@v4 if: ${{ matrix.workingDir != 'myorg-nobackend-scenesapp' && steps.run-e2e-tests.outcome != 'success' }}