From 97059a08dd569eebf5e4e8a9bd28a6007f6ea6c3 Mon Sep 17 00:00:00 2001 From: sebastien Date: Fri, 27 Nov 2026 11:10:43 +0100 Subject: [PATCH] ci(argos): replace the CJK fonts of Playwright with Noto CJK Co-Authored-By: Claude Opus 5.5 --- .github/workflows/argos.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/argos.yml b/.github/workflows/argos.yml index db5c4c9f2e13..8ffe474d2c99 100644 --- a/.github/workflows/argos.yml +++ b/.github/workflows/argos.yml @@ -47,10 +47,15 @@ jobs: # Playwright is a dependency of the argos workspace package # With the pnpm isolated nodeLinker, its binary isn't available at the root + # Replaces the CJK fonts of Playwright, which render zh, ja and ko with the same glyph shapes, + # with Noto CJK, which has the regional shapes of each, see /tests/pages/cjk-font-tests # Installed in the background, concurrently with the website build - - name: Install Playwright browsers + - name: Install Playwright browsers and CJK fonts id: playwright-install - run: pnpm --filter argos exec playwright install --with-deps chromium + run: | + pnpm --filter argos exec playwright install --with-deps chromium + sudo apt-get install --yes --no-install-recommends fonts-noto-cjk + sudo apt-get remove --yes fonts-wqy-zenhei fonts-ipafont-gothic background: true - name: Build website for screenshots