Skip to content

Commit 307ccdc

Browse files
committed
build: reorder workflow steps
1 parent a82a62c commit 307ccdc

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/markdown_links.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,22 @@ jobs:
7070
lfs: false
7171
timeout-minutes: 10
7272

73+
# Initialize log files:
74+
- name: 'Initialize log files'
75+
run: |
76+
mkdir -p "${{ env.LOG_DIR }}"
77+
touch "${{ env.LOG_FILE_FAILURES }}"
78+
touch "${{ env.LOG_FILE_WARNINGS }}"
79+
timeout-minutes: 2
80+
81+
# Check for broken links:
82+
- name: 'Check links'
83+
uses: stdlib-js/check-markdown-link-definitions-action@main
84+
id: results
85+
with:
86+
exclude: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules
87+
timeout-minutes: 240
88+
7389
# Install Node.js:
7490
- name: 'Install Node.js'
7591
# Pin action to full length commit SHA corresponding to v3.8.1
@@ -90,22 +106,6 @@ jobs:
90106
make init
91107
timeout-minutes: 5
92108

93-
# Initialize log files:
94-
- name: 'Initialize log files'
95-
run: |
96-
mkdir -p "${{ env.LOG_DIR }}"
97-
touch "${{ env.LOG_FILE_FAILURES }}"
98-
touch "${{ env.LOG_FILE_WARNINGS }}"
99-
timeout-minutes: 2
100-
101-
# Check for broken links:
102-
- name: 'Check links'
103-
uses: stdlib-js/check-markdown-link-definitions-action@main
104-
id: results
105-
with:
106-
exclude: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules
107-
timeout-minutes: 240
108-
109109
# Check whether links are included in `docs/links/database.json` and use the correct identifier:
110110
- name: 'Check links against database'
111111
run: |

0 commit comments

Comments
 (0)