Skip to content

Commit

Permalink
Chore: Add plugin.json check to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
oshirohugo committed Nov 15, 2024
1 parent 59712a4 commit d7d4145
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,17 @@ jobs:
run: docker compose down
working-directory: ./${{ matrix.workingDir }}

- name: Check plugin.json
run: |
mv dist/ ${{ matrix.workingDir }}
zip ${{ matrix.workingDir }}.zip ${{ matrix.workingDir }} -r
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' }}
Expand Down

0 comments on commit d7d4145

Please sign in to comment.