aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/playwright.yml
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-08-17 14:09:18 +0900
committerGitHub <noreply@github.com>2023-08-17 14:09:18 +0900
commitbf2037d3c96342ecbfb3fd0294bedca5b98b58ef (patch)
tree43ac8bfd6c7a6eaf0ee388578c63adc8a57ba7af /.github/workflows/playwright.yml
parent83be1d6312b5741f732243e3315a1f98c12dc184 (diff)
parent694ca9d01d586162a49ab46d5985d589da327497 (diff)
Merge pull request #189 from EwanFox/master
Fix issue with Playwright where font wouldn't load or would load incorrectly
Diffstat (limited to '.github/workflows/playwright.yml')
-rw-r--r--.github/workflows/playwright.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index a8127388..9397e4fa 100644
--- a/.github/workflows/playwright.yml
+++ b/.github/workflows/playwright.yml
@@ -10,14 +10,17 @@ jobs:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v3
+ - name: Remove all fonts
+ run: rm -rf /usr/share/fonts
+ - uses: actions/checkout@v3
+
- name: Install CJK fonts
uses: awalsh128/cache-apt-pkgs-action@1850ee53f6e706525805321a3f2f863dcf73c962 # v1.3.0
with:
- packages: fonts-noto-cjk
+ packages: fonts-ipafont-mincho
execute_install_scripts: true
-
+
- uses: actions/setup-node@v3
with:
cache: "npm"
@@ -37,7 +40,7 @@ jobs:
- if: ${{ steps.cache-playwright.outputs.cache-hit != 'true' }}
name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
-
+
- name: Grab latest dictionaries from dictionaries branch
uses: actions/checkout@v3
with: