Skip to content

Commit 4d1a94b

Browse files
committed
Retry via github action
1 parent 6f2fe9b commit 4d1a94b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/generate.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@ jobs:
5252
run: gem install syntax_tree -v 6.2.0
5353
- name: Normalize package-lock.json
5454
run: npm install
55+
5556
- name: Generate docs
56-
run: npm run codegen
57+
uses: nick-fields/retry@v3
58+
with:
59+
max_attempts: 3
60+
retry_wait_seconds: 1
61+
command: npm run codegen
5762
- name: Commit
5863
uses: stefanzweifel/git-auto-commit-action@v5
5964
with:

0 commit comments

Comments
 (0)