Skip to content

Commit 14dfa5e

Browse files
authored
ci: update docs formatting step in CI workflow
1 parent aee5d96 commit 14dfa5e

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,7 @@ jobs:
167167
REPO_NAME: ${{ matrix.repo.name }}
168168

169169
- name: Format docs
170-
run: |
171-
set -euo pipefail
172-
173-
if compgen -G "_docs/docs/src/${REPO_NAME}/api/*.md" > /dev/null; then
174-
npx --yes prettier@3.8.3 --write "_docs/docs/src/${REPO_NAME}/api/*.md"
175-
fi
170+
run: npx --yes prettier@3.8.3 --write "_docs/docs/src/${REPO_NAME}/api/*.md" --no-error-on-unmatched-pattern
176171
env:
177172
REPO_NAME: ${{ matrix.repo.name }}
178173

0 commit comments

Comments
 (0)