Skip to content

Commit

Permalink
add build:docmodel script
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Apr 19, 2024
1 parent 57c06ee commit 0aca825
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:

- name: Create Docs
run: |
yarn workspaces foreach --all --include "@apollo/*" run build
yarn workspaces foreach --all --include "@apollo/*" exec api-extractor run
yarn run build:libs
yarn run build:docmodel
yarn workspace monorepo docs
- name: Commit changes back
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"verify-package-shape": "node ./scripts/verify-package-shape.mjs",
"matrix": "node ./scripts/test-matrix.js",
"docs": "api-documenter markdown --input-folder temp --output-folder docs",
"build:libs": "yarn workspaces foreach --all --include \"@apollo/*\" run build"
"build:libs": "yarn workspaces foreach --all --include \"@apollo/*\" run build",
"build:docmodel": "yarn workspaces foreach --all --include \"@apollo/*\" exec api-extractor run"
},
"resolutions": {
"[email protected]": "18.3.0-canary-60a927d04-20240113",
Expand Down

0 comments on commit 0aca825

Please sign in to comment.