Skip to content

feat: add Swagger Functional Testing integration #537

feat: add Swagger Functional Testing integration

feat: add Swagger Functional Testing integration #537

name: Validate Portal Content
on:
pull_request:
branches: [ main ]
paths:
- 'docs/**'
permissions: read-all
env:
LOG_LEVEL: ${{ github.event.inputs.log_level || '2' }}
jobs:
spell-check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
- name: Run cspell
run: npx -y cspell --config ./.cspell.json "./docs/**/*.md"
validate-manifests:
runs-on: ubuntu-latest
needs: spell-check
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '20'
- name: Validate manifests
run: npx tsx docs/scripts/validate-manifests.ts
- name: Dry run publish
run: npx tsx docs/scripts/publish-portal-content.ts --dry-run