Skip to content

fix(customwmsbasemaoeditor.tsx): fix error when clearing layers in un… #57

fix(customwmsbasemaoeditor.tsx): fix error when clearing layers in un…

fix(customwmsbasemaoeditor.tsx): fix error when clearing layers in un… #57

Workflow file for this run

name: Plugin Validation
on:
workflow_call: # https://docs.github.com/en/actions/using-workflows/reusing-workflows
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Install node modules
run: npm install
- run: npm run build
name: Build the plugin
- name: Zip the plugin
uses: montudor/action-zip@v1
with:
args: zip -qr felixrelleum-geomapwms-panel.zip felixrelleum-geomapwms-panel
- name: Run validator
run: npx --yes @grafana/plugin-validator@latest -sourceCodeUri file://. felixrelleum-geomapwms-panel.zip # https://github.com/grafana/plugin-validator
- name: Clean up
run: rm -r felixrelleum-geomapwms-panel.zip