Skip to content

Commit 5188f39

Browse files
fix winows CI build issue
1 parent 01894eb commit 5188f39

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/CI.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ jobs:
4848
Remove-Item $path -Force
4949
}
5050
}
51-
where yarn || echo "✅ Yarn not found"
51+
if (Get-Command yarn -ErrorAction SilentlyContinue) {
52+
yarn --version
53+
} else {
54+
Write-Output "✅ Yarn not found"
55+
}
5256
53-
5457
- name: Remove Yarn on Linux/macOS
5558
if: runner.os != 'Windows'
5659
run: |

0 commit comments

Comments
 (0)