Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,8 @@ name: Checks
on:
push:
branches: [main]
paths-ignore:
- "mkdocs.yml"
- "docs/**"
- "README.md"
pull_request:
branches: [main]
paths-ignore:
- "mkdocs.yml"
- "docs/**"
- "README.md"

concurrency:
group: "${{ github.workflow }}-${{ github.head_ref || github.sha }}"
Expand Down Expand Up @@ -55,6 +47,24 @@ jobs:
echo "${modules_count} packages in the build"
echo "${modules}"

# Runs for every change, not only docs/**: module docs pull snippets from
# packages/**/*.test.ts via codeinclude, so code changes can break the docs too.
docs:
name: Docs
runs-on: ubuntu-24.04
steps:
- name: Code checkout
uses: actions/checkout@v7
- name: Install Python
uses: actions/setup-python@v7
with:
python-version-file: runtime.txt
cache: pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Build docs in strict mode
run: mkdocs build --strict

lint:
if: ${{ needs.detect-modules.outputs.modules_count != '0' }}
name: "Lint"
Expand Down Expand Up @@ -202,10 +212,11 @@ jobs:
workspace: "${{ matrix.module }}"

end:
if: ${{ always() && needs.detect-modules.outputs.modules_count != '0' }}
if: ${{ always() }}
name: Checks complete
needs:
- detect-modules
- docs
- lint
- compile
- smoke-test
Expand Down
34 changes: 0 additions & 34 deletions .github/workflows/docs.yml

This file was deleted.

Loading