feat(functional-testing): Run and query test execution #543
This file contains hidden or 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: 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 |