Feat/tenant management docs #147
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: Lint | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - "docs/**" | |
| - "src/**" | |
| - "package-lock.json" | |
| jobs: | |
| vale-lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install mdx2vast | |
| run: npm install -g mdx2vast | |
| - name: Get changed files | |
| id: changed-mdx-files | |
| uses: tj-actions/[email protected] | |
| with: | |
| files: | | |
| **.mdx | |
| docs/**.mdx | |
| - name: Run vale | |
| uses: errata-ai/[email protected] | |
| if: steps.changed-mdx-files.outputs.any_changed == 'true' | |
| with: | |
| files: docs | |
| # format-code: | |
| # runs-on: ubuntu-latest | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # | |
| # - uses: oven-sh/setup-bun@v2 | |
| # | |
| # - name: Install Dependencies | |
| # run: bun install | |
| # | |
| # - uses: docker/setup-buildx-action@v3 | |
| # | |
| # - name: Get changed files | |
| # id: changed-mdx-files | |
| # uses: tj-actions/[email protected] | |
| # with: | |
| # files: | | |
| # **.mdx | |
| # docs/**.mdx | |
| # separator: "," | |
| # | |
| # - name: Print changed files | |
| # if: steps.changed-mdx-files.outputs.any_changed == 'true' | |
| # run: | | |
| # echo ${{ steps.changed-mdx-files.outputs.all_changed_files }} | |
| # echo ${{ steps.changed-mdx-files.outputs.any_changed }} | |
| # - name: Check code snippets for ${{ matrix.language }} | |
| # working-directory: ./scripts/code-type-checking/${{ matrix.language }} | |
| # run: docker build -t code-check-${{ matrix.language }} . |