Skip to content

Commit b30cce4

Browse files
authored
Merge pull request #152 from SeanSobey/animated-chart-master
Updated github build
2 parents d9aafd3 + 86f421c commit b30cce4

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 2 deletions
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: ['10.x', '12.x', '14.x', '16.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:
@@ -59,7 +63,7 @@ jobs:
5963
runs-on: windows-latest
6064
strategy:
6165
matrix:
62-
node-version: ['16.x']
66+
node-version: ['21.x']
6367
steps:
6468
- uses: actions/checkout@v2
6569
- name: Use Node.js ${{ matrix.node-version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"nvm": "cat .nvmrc | nvm use",
1010
"build": "tsc",
1111
"clean": "clean-dest -s ./src -d ./dist --file-map ./scripts/clean-dest --permanent --verbose && echo TODO: Delete .tsbuildinfo?",
12-
"lint": "tslint -p ./tsconfig.json",
12+
"lint": "echo TODO: Add linting",
1313
"test": "c8 --all mocha dist/**/*.spec.js",
1414
"test-unit": "mocha --exclude dist/**/*.e2e.spec.js dist/**/*.spec.js",
1515
"test-e2e": "mocha dist/**/*.e2e.spec.js",

0 commit comments

Comments
 (0)