mirror of https://github.com/thumbsup/thumbsup
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.
22 lines
623 B
YAML
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
|