Skip to content

Commit 2cfc851

Browse files
committed
Try to fix compatibility workflow
1 parent bcdc071 commit 2cfc851

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/is-compatible.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,21 @@ jobs:
55
compatibilitycheck:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v3
8+
- uses: actions/checkout@v4
9+
with:
10+
persist-credentials: false
911
- name: Setup Node.js environment
10-
uses: actions/setup-node@v3
12+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
1113
with:
12-
node-version: '16'
14+
node-version: '22'
1315
cache: 'npm'
1416
- name: Install dependencies
1517
run: npm ci
1618
- name: Build plugin
1719
run: npm run build
1820
- name: Compatibility check
19-
run: npx @grafana/levitate@latest is-compatible --path src/module.ts --target @grafana/data@10.0.3,@grafana/ui@10.0.3,@grafana/runtime@10.0.3
21+
uses: grafana/plugin-actions/is-compatible@bf335ac99375f0ba8828497abdf1a22897b5d888
22+
with:
23+
comment-pr: 'yes'
24+
fail-if-incompatible: 'no'
25+
targets: '@grafana/data,@grafana/ui,@grafana/runtime,@grafana/e2e-selectors'

0 commit comments

Comments
 (0)