Skip to content

Commit d9ad649

Browse files
committed
ci: use fresh npm cache for windows npx fallback
1 parent 4b03d9d commit d9ad649

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
@@ -118,6 +118,12 @@ jobs:
118118
with:
119119
node-version: "24"
120120

121+
- name: Configure npm cache on Windows
122+
if: matrix.os == 'windows-latest'
123+
run: |
124+
"NPM_CONFIG_CACHE=$env:RUNNER_TEMP\\npm-cache" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
125+
npm cache clean --force
126+
121127
# Intentionally skip installing promptfoo globally
122128
# This tests the npx fallback path
123129

0 commit comments

Comments
 (0)