fix(deps): update grafana dependencies #2742
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: Test docs build | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
changes: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: read | |
outputs: | |
docs: ${{ steps.filter.outputs.docs }} | |
steps: | |
- uses: dorny/paths-filter@v3 | |
id: filter | |
with: | |
filters: | | |
docs: | |
- '.github/workflows/deploy-to-developer-portal-dev.yml' | |
- '.github/workflows/deploy-to-developer-portal-prod.yml' | |
- '.github/workflows/test-build.yml' | |
- 'docusaurus/**' | |
- 'package-lock.json' | |
build-docs: | |
needs: changes | |
if: ${{ needs.changes.outputs.docs == 'true' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '22' | |
registry-url: 'https://registry.npmjs.org' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build documentation website (Dev Portal) | |
run: npm run build -w website |