Skip to content

Commit 3d6be96

Browse files
committed
fix windows npm cache issue
1 parent b7ad976 commit 3d6be96

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
# TOOD: bring this back when CI is more reliable
3134
# - name: ▶️ Run tests

0 commit comments

Comments
 (0)