You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
thumbsup/.github/workflows/test-windows.yml

22 lines
623 B
YAML

name: Test on Windows
on:
workflow_dispatch:
jobs:
test:
name: Test on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
- run: choco install exiftool graphicsmagick
# GraphicsMagick must be manually added to the path
- run: |
$installPath = Get-ChildItem 'C:\Program Files\GraphicsMagick*' | Select-Object -First 1 | % { $_.FullName }
echo "$installPath" | Out-file -Append -FilePath $env:GITHUB_PATH -Encoding utf8
- run: npm install
- run: npm test