Skip to content

Use resource handler to get version #1519

Use resource handler to get version

Use resource handler to get version #1519

name: Compatibility check
on: [push, pull_request]
jobs:
compatibilitycheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- name: Install dependencies
run: yarn install
- name: Build plugin
run: yarn build
- name: Compatibility check
uses: grafana/plugin-actions/is-compatible@v1
with:
module: './src/module.ts'
comment-pr: 'no'
fail-if-incompatible: 'yes'
targets: '@grafana/data,@grafana/ui,@grafana/runtime,@grafana/e2e-selectors'