Skip to content

Commit a5f6e27

Browse files
authored
Merge pull request OAI#5357 from baywet/fix/linkspector-install-browser
ci: adds browser installation step to unblock workflow
2 parents da4d0a0 + 0e2267f commit a5f6e27

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/validate-markdown.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@ jobs:
2727
- name: Lint other files
2828
run: npx --yes markdownlint-cli2 *.md
2929

30+
# workaround for https://github.com/UmbrellaDocs/action-linkspector/issues/62
31+
- name: Install Chrome
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install -y google-chrome-stable
35+
echo "PUPPETEER_SKIP_DOWNLOAD=true" >> $GITHUB_ENV
36+
echo "PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome" >> $GITHUB_ENV
37+
3038
- name: Check links in markdown files
3139
uses: umbrelladocs/action-linkspector@v1
3240
with:

0 commit comments

Comments
 (0)