We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce84f8a commit c7f89afCopy full SHA for c7f89af
.github/workflows/test.yml
@@ -93,7 +93,11 @@ jobs:
93
- name: Add npm global bin to PATH (Windows)
94
if: matrix.os == 'windows-latest'
95
run: |
96
- $globalBin = npm bin -g
+ $globalPrefix = (npm config get prefix).Trim()
97
+ if (-not $globalPrefix) {
98
+ $globalPrefix = Join-Path $env:APPDATA "npm"
99
+ }
100
+ $globalBin = $globalPrefix
101
$globalBin | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
102
103
- uses: astral-sh/setup-uv@v7
0 commit comments