From 9ab58014035f8334bcb959f93616f5a7c761d6a7 Mon Sep 17 00:00:00 2001 From: Ad-Bean Date: Tue, 19 Nov 2024 15:54:18 -0500 Subject: [PATCH] chore(ci): update broken links check workflow to use latest actions and Node.js version --- .github/workflows/brokenlinks-check.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/brokenlinks-check.yml b/.github/workflows/brokenlinks-check.yml index d44a3498..f39a52ad 100644 --- a/.github/workflows/brokenlinks-check.yml +++ b/.github/workflows/brokenlinks-check.yml @@ -1,12 +1,7 @@ name: Broken Links Check on: - push: - branches: - - main pull_request: - branches: - - main jobs: broken-links-check: @@ -14,13 +9,13 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + - name: Use Node.js + uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} - cache: "yarn" + node-version: "20.x" + cache: "npm" - name: Install Mintlify run: npm i -g mintlify