Skip to content

chore: Maintenance

chore: Maintenance #1

name: Latest Grafana API compatibility check
on:
pull_request:
paths-ignore:
- docs/*
- docs/sources/**
branches:
- main
jobs:
compatibility-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn install --immutable
- name: Build frontend
run: yarn build
- name: Compatibility check
run: npx @grafana/levitate@latest is-compatible --path src/module.ts --target @grafana/data,@grafana/ui,@grafana/runtime