Skip to content

Commit f062c09

Browse files
committed
fix windows npm cache issue
1 parent 914dcc1 commit f062c09

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626
node-version: 24
2727

2828
- name: ▶️ Add repo
29-
run:
30-
npx --yes epicshop@latest add ${{ github.event.repository.name }}
31-
./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
3234

3335
- name: ʦ TypeScript
3436
run: npm run typecheck

0 commit comments

Comments
 (0)