Workflow file for this run
This file contains 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: Latest Grafana API compatibility check | |
on: [pull_request] | |
jobs: | |
compatibilitycheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: yarn install --immutable --prefer-offline | |
- name: Build plugin | |
run: yarn build | |
- name: Compatibility check | |
run: npx @grafana/levitate@latest is-compatible --path src/module.ts --target @grafana/data@9.3.2,@grafana/ui@9.3.2,@grafana/runtime@9.3.2 |