Skip to content

Commit 6fc4ab2

Browse files
committed
try to isolate cache
1 parent 83b3894 commit 6fc4ab2

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/validate.yml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,17 @@ jobs:
2525
with:
2626
node-version: 24
2727

28-
- name: 🔧 Configure git for Windows
29-
if: matrix.os == 'windows-latest'
30-
shell: cmd
31-
run: |
32-
git config --global core.autocrlf false
33-
git config --global core.eol lf
34-
35-
- name: 🧹 Clear npm cache
36-
if: matrix.os == 'windows-latest'
37-
shell: cmd
38-
run: |
39-
npm cache clean --force
40-
npm cache verify
41-
4228
- name: ▶️ Add repo
43-
shell: ${{ matrix.os == 'windows-latest' && 'cmd' || 'bash' }}
4429
run: |
4530
npx --yes epicshop@latest add ${{ github.event.repository.name }} ./workshop
31+
env:
32+
npm_config_cache: ${{ runner.temp }}/npm-cache
4633

4734
- name: ʦ TypeScript
48-
shell: ${{ matrix.os == 'windows-latest' && 'cmd' || 'bash' }}
4935
run: npm run typecheck
5036
working-directory: ./workshop
5137

5238
- name: ⬣ ESLint
53-
shell: ${{ matrix.os == 'windows-latest' && 'cmd' || 'bash' }}
5439
run: npm run lint
5540
working-directory: ./workshop
5641

0 commit comments

Comments
 (0)