From c96cb2cabc5157a5fa07058f096e6719d1293bc5 Mon Sep 17 00:00:00 2001 From: Praveen Bishnoi Date: Wed, 12 Aug 2026 12:22:30 +0530 Subject: [PATCH] ci: add OS-aware Playwright browser provisioning step for matrix runners --- .github/workflows/ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec0a4db..e423ea8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,10 +46,20 @@ jobs: - name: Verify Mermaid import script run: python scripts/verify-mermaid-import.py + - name: Install Playwright & Chromium + shell: bash + run: | + python -m pip install playwright + if [ "${{ runner.os }}" = "Linux" ]; then + python -m playwright install --with-deps chromium + else + python -m playwright install chromium + fi - name: Verify generated icon assets + shell: bash run: | - python3 scripts/build-icons.py + python scripts/build-icons.py git diff --ignore-space-at-eol --exit-code -- \ skills/diagram-design/assets/icons.html \ skills/diagram-design/references/primitive-icons.md