Skip to content

Support Node 18

Support Node 18 #422

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: "16"
- 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'