Skip to content

Commit ffcef93

Browse files
authored
[chore] Remove the need of package.json, same as contrib (#11986)
Signed-off-by: Bogdan Drutu <[email protected]>
1 parent 46a808b commit ffcef93

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/changelog.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ concurrency:
1818

1919
permissions: read-all
2020

21+
env:
22+
# renovate: datasource=github-releases depName=tcort/markdown-link-check
23+
MD_LINK_CHECK_VERSION: "3.12.2"
24+
2125
jobs:
2226
changelog:
2327
runs-on: ubuntu-latest
@@ -78,7 +82,7 @@ jobs:
7882
- name: Render .chloggen changelog entries
7983
run: make chlog-preview > changelog_preview.md
8084
- name: Install markdown-link-check
81-
run: npm ci
85+
run: npm install -g markdown-link-check@${{ env.MD_LINK_CHECK_VERSION }}
8286
- name: Run markdown-link-check
8387
run: |
8488
npx --no -- markdown-link-check \

.github/workflows/check-links.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ concurrency:
1212

1313
permissions: read-all
1414

15+
env:
16+
# renovate: datasource=github-releases depName=tcort/markdown-link-check
17+
MD_LINK_CHECK_VERSION: "3.12.2"
18+
1519
jobs:
1620
changedfiles:
1721
name: changed files
@@ -46,7 +50,7 @@ jobs:
4650
fetch-depth: 0
4751

4852
- name: Install markdown-link-check
49-
run: npm ci
53+
run: npm install -g markdown-link-check@${{ env.MD_LINK_CHECK_VERSION }}
5054

5155
- name: Run markdown-link-check
5256
run: |

package.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)