aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/playwright.yml
diff options
context:
space:
mode:
authorEwan Fox <ewan@ewanfox.com>2023-08-16 04:24:26 -0400
committerGitHub <noreply@github.com>2023-08-16 04:24:26 -0400
commit78085c2940c3d48e144326ab8786a608cd9e1529 (patch)
tree538f49a090e1059a42ec42cb16b156c9034ad714 /.github/workflows/playwright.yml
parent83be1d6312b5741f732243e3315a1f98c12dc184 (diff)
Revert and Fix!
Diffstat (limited to '.github/workflows/playwright.yml')
-rw-r--r--.github/workflows/playwright.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml
index a8127388..7d617c3a 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,8 @@ jobs:
- if: ${{ steps.cache-playwright.outputs.cache-hit != 'true' }}
name: Install Playwright Browsers
run: npx playwright install --with-deps chromium
-
+ - name: Check Available Fonts
+ run: fc-list
- name: Grab latest dictionaries from dictionaries branch
uses: actions/checkout@v3
with: