Skip to content

Commit 0e2267f

Browse files
committed
ci: adds browser installation step to unblock workflow
1 parent da4d0a0 commit 0e2267f

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)