Skip to content

Commit c9f13a3

Browse files
Merge pull request #1477 from emberjs/docs-generation-in-ci
Add Docs-Generation to CI -- will error if docs get out of sync and provides actionable information towards resolution.
2 parents e131480 + 1906e42 commit c9f13a3

File tree

4 files changed

+227
-162
lines changed

4 files changed

+227
-162
lines changed

.github/workflows/ci-build.yml

+17
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,23 @@ jobs:
5050
working-directory: addon
5151
run: pnpm tsc --noEmit
5252

53+
docs-gen:
54+
timeout-minutes: 5
55+
name: Docs Generation
56+
runs-on: ubuntu-latest
57+
58+
steps:
59+
- uses: actions/checkout@v4
60+
- uses: pnpm/action-setup@v4
61+
- uses: actions/setup-node@v4
62+
with:
63+
cache: pnpm
64+
- name: Install Dependencies
65+
run: pnpm install
66+
- run: pnpm build:docs
67+
- run: echo "If this fails, docs gen is out of sync. Please run 'pnpm build:docs'" && git diff --exit-code
68+
69+
5370
floating:
5471
name: "Floating Dependencies"
5572
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)