Skip to content

Commit ce84f8a

Browse files
committed
ci: add npm global bin to windows PATH
1 parent 43a77d9 commit ce84f8a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ jobs:
9090
env:
9191
NODE_OPTIONS: --max-old-space-size=4096
9292

93+
- name: Add npm global bin to PATH (Windows)
94+
if: matrix.os == 'windows-latest'
95+
run: |
96+
$globalBin = npm bin -g
97+
$globalBin | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
98+
9399
- uses: astral-sh/setup-uv@v7
94100
with:
95101
enable-cache: true

0 commit comments

Comments
 (0)