Skip to content

Commit

Permalink
Merge pull request #189 from EwanFox/master
Browse files Browse the repository at this point in the history
Fix issue with Playwright where font wouldn't load or would load incorrectly
  • Loading branch information
djahandarie authored Aug 17, 2023
2 parents 83be1d6 + 694ca9d commit bf2037d
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit bf2037d

Please sign in to comment.