From ffcef93b05175c21f967d43af95141e95bdb2f3d Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Fri, 27 Dec 2024 07:40:13 -0800 Subject: [PATCH] [chore] Remove the need of package.json, same as contrib (#11986) Signed-off-by: Bogdan Drutu --- .github/workflows/changelog.yml | 6 +++++- .github/workflows/check-links.yaml | 6 +++++- package.json | 5 ----- 3 files changed, 10 insertions(+), 7 deletions(-) delete mode 100644 package.json diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 847cc2903c02..e6d4225e6731 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -18,6 +18,10 @@ concurrency: permissions: read-all +env: + # renovate: datasource=github-releases depName=tcort/markdown-link-check + MD_LINK_CHECK_VERSION: "3.12.2" + jobs: changelog: runs-on: ubuntu-latest @@ -78,7 +82,7 @@ jobs: - name: Render .chloggen changelog entries run: make chlog-preview > changelog_preview.md - name: Install markdown-link-check - run: npm ci + run: npm install -g markdown-link-check@${{ env.MD_LINK_CHECK_VERSION }} - name: Run markdown-link-check run: | npx --no -- markdown-link-check \ diff --git a/.github/workflows/check-links.yaml b/.github/workflows/check-links.yaml index 5454b93ba6a9..7fbda8f515e0 100644 --- a/.github/workflows/check-links.yaml +++ b/.github/workflows/check-links.yaml @@ -12,6 +12,10 @@ concurrency: permissions: read-all +env: + # renovate: datasource=github-releases depName=tcort/markdown-link-check + MD_LINK_CHECK_VERSION: "3.12.2" + jobs: changedfiles: name: changed files @@ -46,7 +50,7 @@ jobs: fetch-depth: 0 - name: Install markdown-link-check - run: npm ci + run: npm install -g markdown-link-check@${{ env.MD_LINK_CHECK_VERSION }} - name: Run markdown-link-check run: | diff --git a/package.json b/package.json deleted file mode 100644 index 291501d325e2..000000000000 --- a/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "devDependencies": { - "markdown-link-check": "3.12.2" - } -}