From 28c58b66cfe0aeb1f1625d649cb56d3ec8f2a4f1 Mon Sep 17 00:00:00 2001 From: smartcontracts Date: Thu, 8 Feb 2024 19:59:41 -0700 Subject: [PATCH] Update check-links.yml --- .github/workflows/check-links.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml index 6939f3336..459d222fc 100644 --- a/.github/workflows/check-links.yml +++ b/.github/workflows/check-links.yml @@ -1,13 +1,16 @@ name: Check for Dead Links -on: push + +on: [push, pull_request] + jobs: check-links: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Run the test - run: | - cd $GITHUB_WORKSPACE - yarn - yarn check-md + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Install Dependencies + run: yarn + + - name: Check Links + run: yarn check-md