Skip to content

Commit 30e6fe4

Browse files
committed
fix windows npm cache issue
1 parent 8f29355 commit 30e6fe4

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
@@ -24,8 +24,11 @@ jobs:
2424
node-version: 20
2525

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

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

0 commit comments

Comments
 (0)