From 87e7fc69b1bd4ec0bd035a0732e3614cb4a95a56 Mon Sep 17 00:00:00 2001 From: Ad-Bean Date: Tue, 19 Nov 2024 16:17:44 -0500 Subject: [PATCH] feat(ci): update broken links check command and configure npm global path --- .github/workflows/brokenlinks-check.yml | 4 +++- .gitignore | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/brokenlinks-check.yml b/.github/workflows/brokenlinks-check.yml index 3a391834..a673f1de 100644 --- a/.github/workflows/brokenlinks-check.yml +++ b/.github/workflows/brokenlinks-check.yml @@ -15,9 +15,11 @@ jobs: uses: actions/setup-node@v4 with: node-version: "20.x" + path: ~/.npm-global + key: ${{ runner.os }}-build-${{ env.cache-name }} - name: Install Mintlify run: npm i -g mintlify - name: Run Broken Links Check - run: mintlify check-links + run: mintlify broken-links diff --git a/.gitignore b/.gitignore index 9414550b..4a1230ed 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .DS_Store *.py rename_files.py.save +node_modules/ \ No newline at end of file