We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b7aaec commit 73877efCopy full SHA for 73877ef
.github/workflows/test.yml
@@ -97,8 +97,12 @@ jobs:
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
+ "NPM_CONFIG_PREFIX=$globalPrefix" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
+ "npm_config_prefix=$globalPrefix" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
102
+ $binPaths = @($globalPrefix, (Join-Path $globalPrefix "bin")) | Where-Object { Test-Path $_ }
103
+ foreach ($binPath in $binPaths) {
104
+ $binPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
105
+ }
106
107
- uses: astral-sh/setup-uv@v7
108
with:
0 commit comments