Prevent usage of failed connections and improve connection management #3684
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: Compatibility check | |
on: [push, pull_request] | |
jobs: | |
compatibilitycheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
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: 'yes' | |
skip-comment-if-compatible: 'yes' | |
fail-if-incompatible: 'no' | |
targets: '@grafana/data,@grafana/ui,@grafana/runtime,@grafana/e2e-selectors' |