Merge branch 'master' into intersect #2
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 helpers validation | |
| on: | |
| pull_request: | |
| paths: | |
| - 'docs/**' | |
| push: | |
| paths: | |
| - 'docs/**' | |
| jobs: | |
| validate-docs-helpers: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./docs | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| - name: Install dependencies | |
| run: npm i | |
| - name: Build Docusaurus project | |
| run: npm run build | |
| # - name: Run docs helpers checks | |
| # run: | | |
| # node docs/scripts/check-duplicates-in-category.js | |
| # node docs/scripts/check-similar-exists.js | |
| # node docs/scripts/check-filename-matches-frontmatter.js | |
| # node docs/scripts/check-similar-keys-exist-in-directory.js | |
| # node docs/scripts/check-cross-references.js | |
| # - name: Sync function signatures | |
| # run: npm run sync:function-signatures | |
| # - name: Commit and push changes | |
| # uses: stefanzweifel/git-auto-commit-action@v5 | |
| # with: | |
| # commit_message: 'docs: sync function signatures from source' | |
| # commit_user_name: github-actions[bot] | |
| # commit_user_email: github-actions[bot]@users.noreply.github.com | |
| # file_pattern: docs/data/*.md |