From 52eb25ee0715d85356fa5d23f46e7da9003300a9 Mon Sep 17 00:00:00 2001 From: xy2_ Date: Sun, 26 Mar 2023 20:51:18 +0200 Subject: 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. --- .github/workflows/playwright.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.github/workflows/playwright.yml') 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" -- cgit v1.2.3 From 4ca709d55bb619e8a20e5aaa197c58ffe3fd81b6 Mon Sep 17 00:00:00 2001 From: xy2_ Date: Thu, 30 Mar 2023 18:12:48 +0200 Subject: playwright: add cjk fonts By default CJK fonts are not installed on the Ubuntu image, --- .github/workflows/playwright.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github/workflows/playwright.yml') diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 5ec1a455..1ffce548 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -13,7 +13,9 @@ jobs: - uses: actions/checkout@v3 - name: Install CJK fonts - run: sudo apt install -y noto-fonts-cjk + uses: awalsh128/cache-apt-pkgs-action@1850ee53f6e706525805321a3f2f863dcf73c962 + with: + packages: fonts-noto-cjk - uses: actions/setup-node@v3 with: -- cgit v1.2.3