Skip to content

Commit f587dbf

Browse files
ci: test ubundu latest
1 parent daf3a09 commit f587dbf

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.github/workflows/ci_cd.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,27 @@ jobs:
3333

3434
doc-build:
3535
name: "Build project documentation"
36-
runs-on: ubuntu-22.04
36+
runs-on: ubuntu-latest
3737
steps:
3838
- name: Setup headless display
3939
uses: pyvista/setup-headless-display-action@5bc8de3bc71fcda7a96439571287a554901541a0 # v4.3
4040

4141
- name: "Install mermaid-cli"
4242
run: npm install -g @mermaid-js/mermaid-cli
4343

44+
45+
- name: Create Puppeteer config (fix sandbox)
46+
run: |
47+
cat <<EOF > puppeteer-config.json
48+
{
49+
"args": ["--no-sandbox", "--disable-setuid-sandbox"]
50+
}
51+
EOF
52+
53+
- name: Configure Mermaid CLI
54+
run: echo "export MERMAID_PUPPETEER_CONFIG=puppeteer-config.json" >> $GITHUB_ENV
55+
56+
4457
- name: "Install GraphViz"
4558
shell: bash
4659
run: |

0 commit comments

Comments
 (0)