From 86d1ae40ed8641b4664f75866bfdf176eef50ec1 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 14 Mar 2023 09:40:12 -0400 Subject: [PATCH] CI: add link-checking GH action --- .github/workflows/check-links.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/check-links.yml diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml new file mode 100644 index 000000000000..4dd298f21e0e --- /dev/null +++ b/.github/workflows/check-links.yml @@ -0,0 +1,19 @@ +name: Check links and refcache + +on: + pull_request: + +jobs: + check-formatting: + name: Check links and refcache + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - run: npm install + + - name: Build site and check links + run: npm build:preview + + - name: Flag refcache changes + run: npm run diff:fail