✨ Add support for new filetypes #725
Workflow file for this run
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: Docker Build Doc Check | |
| concurrency: | |
| group: docker-build-doc-dev-${{ github.ref }} | |
| cancel-in-progress: true | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [develop] | |
| paths: | |
| - 'doc/**' | |
| - '.github/workflows/**' | |
| push: | |
| branches: [develop] | |
| paths: | |
| - 'doc/**' | |
| - '.github/workflows/**' | |
| jobs: | |
| build-docs-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18' | |
| - name: Install dependencies | |
| run: | | |
| cd doc | |
| npm install | |
| - name: Build doc | |
| run: | | |
| cd doc | |
| npm run docs:build | |
| BUILD_EXIT_CODE=$? | |
| if [ $BUILD_EXIT_CODE -ne 0 ]; then | |
| echo "❌ Doc build failed with exit code $BUILD_EXIT_CODE" | |
| exit $BUILD_EXIT_CODE | |
| else | |
| echo "✅ Doc build completed successfully" | |
| fi |