summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxy2_ <hugo@xy2.dev>2023-03-26 20:51:18 +0200
committerxy2_ <hugo@xy2.dev>2023-03-26 20:51:18 +0200
commit52eb25ee0715d85356fa5d23f46e7da9003300a9 (patch)
treef9a4dcdcd2ba5fe4e1ad8b83d991b164cb631fa3
parent1421c4ec7a864281c3aad9803cf029ecc4296db8 (diff)
playwright: install Japanese font in Ubuntu image
By default CJK fonts are not installed on the Ubuntu image, which led to characters not displaying on the screenshot diffing tests.
-rw-r--r--.github/workflows/playwright.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index 409d73a6..5ec1a455 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -12,6 +12,9 @@ jobs:
steps:
- uses: actions/checkout@v3
+ - name: Install CJK fonts
+ run: sudo apt install -y noto-fonts-cjk
+
- uses: actions/setup-node@v3
with:
cache: "npm"