Merge pull request #233 from dli7319/docs #664
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 Build Check | |
| on: | |
| push: | |
| branches-ignore: | |
| - 'build' | |
| pull_request: | |
| jobs: | |
| build-docs: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| cache: 'npm' | |
| cache-dependency-path: | | |
| package-lock.json | |
| docs/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install docs dependencies | |
| run: npm ci | |
| working-directory: ./docs | |
| - name: Build docs | |
| run: npm run build | |
| working-directory: ./docs |