Skip to content

Plugin E2E: Expose variable list page as fixture #1694

Plugin E2E: Expose variable list page as fixture

Plugin E2E: Expose variable list page as fixture #1694

Workflow file for this run

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
env:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
NX_BRANCH: ${{ github.event.number || github.ref_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build documentation website (Dev Portal)
run: npm run docs:build