Skip to content

Commit

Permalink
ci: check compatibility workflow (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Jun 2, 2023
1 parent dedc507 commit 0185444
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/is-compatible.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Latest Grafana API compatibility check
on: [pull_request]

jobs:
compatibilitycheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build plugin
run: yarn run build
- name: Compatibility check
run: npx @grafana/levitate@latest is-compatible --path src/module.ts --target @grafana/data,@grafana/ui,@grafana/runtime

0 comments on commit 0185444

Please sign in to comment.