Update skills (#43) #63
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: Docs CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| types: [opened, synchronize, reopened] | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: docs-ci-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| docs: | |
| name: Docs Build and Checks | |
| runs-on: ubuntu-latest | |
| env: | |
| DOCS_STATIC_BASE_URL: ${{ vars.DOCS_STATIC_BASE_URL }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 20 | |
| cache: npm | |
| cache-dependency-path: docs-app/package-lock.json | |
| - name: Validate docs release link contract | |
| run: bash scripts/test-docs-release-links-contract.sh | |
| - name: Install docs app dependencies | |
| working-directory: docs-app | |
| run: npm ci | |
| - name: Build docs app | |
| working-directory: docs-app | |
| run: npm run build |