Skip to content

Commit 6768015

Browse files
committed
fix windows npm cache issue
1 parent c1565c3 commit 6768015

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
@@ -26,8 +26,11 @@ jobs:
2626
node-version: 24
2727

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

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

0 commit comments

Comments
 (0)