Skip to content

fix: replace direct CSS imports with Emotion CSS-in-JS #1

fix: replace direct CSS imports with Emotion CSS-in-JS

fix: replace direct CSS imports with Emotion CSS-in-JS #1

Workflow file for this run

name: Latest Grafana API compatibility check
on: [pull_request]
jobs:
compatibilitycheck:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
- name: Setup Node.js environment
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '22'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build plugin
run: npm run build
- name: Find module.ts or module.tsx
id: find-module-ts
run: |
MODULETS="$(find ./src -type f \( -name "module.ts" -o -name "module.tsx" \))"
echo "modulets=${MODULETS}" >> $GITHUB_OUTPUT
- name: Compatibility check
uses: grafana/plugin-actions/is-compatible@is-compatible/v1.0.2
with:
module: ${{ steps.find-module-ts.outputs.modulets }}
comment-pr: "no"
fail-if-incompatible: "yes"