You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Reference documentation needs to be updated. See message below.
57
-
if: ${{ failure() }}
58
-
run: echo "Changes in this PR affect the reference docs or API reports. Run \`$COMMAND_TO_RUN\` locally to regenerate the changed files and add them to this PR."
25
+
- name: Checkout Repo
26
+
uses: actions/checkout@v4
27
+
with:
28
+
# get all history for the diff
29
+
fetch-depth: 0
30
+
- name: Set up Node (20)
31
+
uses: actions/setup-node@v4
32
+
with:
33
+
node-version: 22.10.0
34
+
- name: Yarn install
35
+
run: yarn
36
+
- name: Run doc generation
37
+
run: yarn docgen:all
38
+
- name: Check for changes in common/api-review dir (fail if so)
39
+
id: api-report-check
40
+
run: |
41
+
if [[ -n "$(git status common/api-review --porcelain)" ]]; then
42
+
echo "Unstaged changes detected in api-report(s):"
- name: Reference documentation needs to be updated. See message below.
59
+
if: ${{ failure() }}
60
+
run: echo "Changes in this PR affect the reference docs or API reports. Run \`$COMMAND_TO_RUN\` locally to regenerate the changed files and add them to this PR."
0 commit comments