From bc543554b78a34624b48b2793eff45031db90927 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 3 Jun 2026 12:01:37 -0400 Subject: [PATCH 1/2] ci: adds browser installation step --- .github/workflows/validate-markdown.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/validate-markdown.yaml b/.github/workflows/validate-markdown.yaml index 9a6e166..5771276 100644 --- a/.github/workflows/validate-markdown.yaml +++ b/.github/workflows/validate-markdown.yaml @@ -28,6 +28,14 @@ jobs: - name: Lint markdown run: npx --yes markdownlint-cli2 --config .markdownlint.yaml npx markdownlint-cli2 *.md schemas/**/*.md versions/*.md + - id: setup-chrome + uses: browser-actions/setup-chrome@v2 + with: + chrome-version: stable + + - name: Point Puppeteer at the installed Chrome + run: echo "PUPPETEER_EXECUTABLE_PATH=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV" + - name: Check links in markdown files uses: umbrelladocs/action-linkspector@v1 with: From 2561c9b156a81be7525f54d2ff31f39b64c0eb59 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 3 Jun 2026 12:06:33 -0400 Subject: [PATCH 2/2] ci: another installation approach Signed-off-by: Vincent Biret --- .github/workflows/validate-markdown.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/validate-markdown.yaml b/.github/workflows/validate-markdown.yaml index 5771276..b15fdc8 100644 --- a/.github/workflows/validate-markdown.yaml +++ b/.github/workflows/validate-markdown.yaml @@ -28,13 +28,13 @@ jobs: - name: Lint markdown run: npx --yes markdownlint-cli2 --config .markdownlint.yaml npx markdownlint-cli2 *.md schemas/**/*.md versions/*.md - - id: setup-chrome - uses: browser-actions/setup-chrome@v2 - with: - chrome-version: stable - - - name: Point Puppeteer at the installed Chrome - run: echo "PUPPETEER_EXECUTABLE_PATH=${{ steps.setup-chrome.outputs.chrome-path }}" >> "$GITHUB_ENV" + # workaround for https://github.com/UmbrellaDocs/action-linkspector/issues/62 + - name: Install Chrome + run: | + sudo apt-get update + sudo apt-get install -y google-chrome-stable + echo "PUPPETEER_SKIP_DOWNLOAD=true" >> $GITHUB_ENV + echo "PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome" >> $GITHUB_ENV - name: Check links in markdown files uses: umbrelladocs/action-linkspector@v1