Skip to content

Commit d797255

Browse files
committed
fix windows npm cache issue
1 parent 346c58d commit d797255

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ jobs:
2525
node-version: 24
2626

2727
- name: ▶️ Add repo
28-
run:
29-
npx --yes epicshop add ${{ github.event.repository.name }} ./workshop
28+
run: |
29+
npx --yes epicshop@latest add ${{ github.event.repository.name }} ./workshop
30+
env:
31+
# Kept getting npm ECOMPROMISED errors on windows. This fixed it.
32+
npm_config_cache: ${{ runner.temp }}/npm-cache
3033

3134
- name: ʦ TypeScript
3235
run: npm run typecheck

0 commit comments

Comments
 (0)