Skip to content

Commit 43a77d9

Browse files
committed
ci: reset npm cache before windows global install
1 parent 06a66b1 commit 43a77d9

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
@@ -79,6 +79,12 @@ jobs:
7979
with:
8080
node-version: "24"
8181

82+
- name: Configure npm cache on Windows
83+
if: matrix.os == 'windows-latest'
84+
run: |
85+
"NPM_CONFIG_CACHE=$env:RUNNER_TEMP\\npm-cache" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
86+
npm cache clean --force
87+
8288
- name: Install promptfoo globally
8389
run: npm install -g promptfoo@latest
8490
env:

0 commit comments

Comments
 (0)