Skip to content

Commit 0d776a4

Browse files
committed
Fix document publishing GitHub Action
It seems that Chromium is no longer found automatically. See also puppeteer/puppeteer#9533.
1 parent 78a90e0 commit 0d776a4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,17 @@ jobs:
2020
run: sudo python3 -m pip install gitpython pandocfilters
2121

2222
- name: Install mermaid diagram filter
23-
run: sudo npm install --global mermaid-filter
23+
run: |
24+
git clone https://github.com/raghur/mermaid-filter/
25+
cd mermaid-filter
26+
sed -i '1s/{/{ "overrides": { "puppeteer": "^21" },/' package.json
27+
npm install --loglevel verbose
28+
ls -lart
29+
ls -la /usr/local/bin
30+
head /usr/local/bin/mermaid-filter || true
31+
sudo npm link --loglevel verbose
32+
head /usr/local/bin/mermaid-filter || true
33+
cd ..
2434
2535
- name: Build documentation
2636
run: cd doc/doxygen-root && make && touch html/.nojekyll

0 commit comments

Comments
 (0)