Skip to content

Commit

Permalink
fix: correctly load Inter font in playwright action (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
prescottprue authored Jun 7, 2024
1 parent 095266f commit 6e045eb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,17 @@ runs:
shell: bash

- name: Install Google Fonts
# NOTE: Invalid zip file was being downloaded through wget -O Inter.zip https://fonts.google.com/download?family=Inter
# so the file was downloaded and uploaded to side-plat-tools-public bucket
run: |
wget -O Inter.zip https://fonts.google.com/download?family=Inter
wget -O Inter.zip https://storage.googleapis.com/side-plat-tools-public/playwright-fonts/Inter.zip
echo "::debug::Inter Zip file downloaded, unzipping"
unzip -d Inter/ Inter.zip
echo "::debug::Inter font file unzipped, moving"
mv Inter /usr/share/fonts/
echo "::debug::Inter font file moved, building to cache"
fc-cache -fv
echo "::debug::Inter font built to cache"
shell: bash

- name: Run integration tests
Expand Down

0 comments on commit 6e045eb

Please sign in to comment.