Fix Module API api docs not regenerating on build (#34429)

* Always overwrite module API files

* Report if the module API changes unexpected in CI

* Update docs

* Add command to the matrix

* actually filter by project
This commit is contained in:
Will Hunt
2026-07-28 15:48:24 +00:00
committed by GitHub
parent 35a6aaab71
commit 9dd8e82604
3 changed files with 21 additions and 6 deletions
+14
View File
@@ -43,6 +43,11 @@ jobs:
- name: Rethemendex Check
command: "rethemendex"
assert-diff: true
- name: Module API Docs Check
command: "build"
install: normal
project: "@element-hq/element-web-module-api"
assert-diff: true
- name: Docs
install: layered
command: "docs:build"
@@ -74,6 +79,15 @@ jobs:
run: pnpm nx run-many -t "$CMD" -p
env:
CMD: ${{ matrix.command }}
if: matrix.project == ''
- name: Run ${{ matrix.command }} on ${{ matrix.project }}
run: pnpm nx run -t "$CMD" -p "$PROJECT"
env:
CMD: ${{ matrix.command }}
PROJECT: ${{ matrix.project }}
if: matrix.project
- name: Assert no changes
run: git diff --exit-code