Skip to content

Commit

Permalink
Chore: Add plugin.json check to CI (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
oshirohugo authored Nov 15, 2024
1 parent 59712a4 commit 84b415a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' }}
Expand Down

0 comments on commit 84b415a

Please sign in to comment.