Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correctly load Inter font in playwright action #54

Merged
merged 6 commits into from
Jun 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: github workspace prefix
  • Loading branch information
prescottprue committed Jun 7, 2024
commit b88eb822e3fe9e978171233aac58564b99657a5e
7 changes: 4 additions & 3 deletions .github/actions/playwright/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ runs:

- name: Install Google Fonts
run: |
wget -O Inter.zip https://fonts.google.com/download?family=Inter
echo "Downloading Inter font zip file"
wget -O $GITHUB_WORKSPACE/Inter.zip https://fonts.google.com/download?family=Inter
echo "Inter Zip file downloaded, unzipping"
unzip -d Inter/ Inter.zip
unzip -d $GITHUB_WORKSPACE/Inter/ $GITHUB_WORKSPACE/Inter.zip
echo "Inter font file unzipped, moving"
mv Inter /usr/share/fonts/
mv $GITHUB_WORKSPACE/Inter /usr/share/fonts/
echo "Inter font file moved, building to cache"
fc-cache -fv
echo "Inter font built to cache"
Expand Down