Skip to content

Commit 86f421c

Browse files
committed
Added font install
1 parent 8f3a3a7 commit 86f421c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: windows-latest
1414
strategy:
1515
matrix:
16-
node-version: ['20.x', '21.x', '22.x']
16+
node-version: ['20.x', '21.x']
1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Use Node.js ${{ matrix.node-version }}
@@ -26,6 +26,10 @@ jobs:
2626
Expand-Archive gtk.zip -DestinationPath "C:\GTK"
2727
Invoke-WebRequest "https://downloads.sourceforge.net/project/libjpeg-turbo/2.0.4/libjpeg-turbo-2.0.4-vc64.exe" -OutFile "libjpeg.exe" -UserAgent NativeHost
2828
.\libjpeg.exe /S
29+
- name: Install Anthrope font
30+
run: |
31+
Copy-Item -Path "${{ github.workspace }}\\testData\\Anthrope.ttf" -Destination "$Env:WINDIR\Fonts"
32+
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" /v "Anthrope (TrueType)" /t REG_SZ /d "Anthrope.ttf" /f
2933
- name: Add msbuild to PATH
3034
uses: microsoft/setup-msbuild@v1.1
3135
with:

0 commit comments

Comments
 (0)