Skip to content

Commit 398c833

Browse files
committed
chore(docs): added step for outdated doc items check
1 parent 6727c61 commit 398c833

File tree

5 files changed

+832
-788
lines changed

5 files changed

+832
-788
lines changed

.github/workflows/actions/build-docs/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ description: Common setup steps used by our workflows
33
runs:
44
using: composite
55
steps:
6+
- name: Check Documentation Items TTL
7+
id: check_doc_items
8+
shell: bash
9+
run: yarn run docs:check-outdated-doc-items
10+
continue-on-error: true
11+
12+
- name: Check for errors
13+
shell: bash
14+
run: |
15+
if [[ "${{ steps.check_doc_items.outcome }}" == "failure" ]]; then
16+
echo "::warning file=check-outdated.ts,title=Found outdated documentation item::Please review apps/docs/src/app/services/docs-metadata.ts and remove."
17+
exit 0
18+
fi
19+
620
- name: Build Documentation
721
shell: bash
822
run: |

0 commit comments

Comments
 (0)