更新ci npm缓存设置

This commit is contained in:
lyswhut
2024-05-18 18:55:41 +08:00
parent 8a20b773fb
commit 53b470ed09
4 changed files with 16 additions and 10 deletions
+4 -4
View File
@@ -44,7 +44,7 @@ jobs:
name: Windows
runs-on: windows-latest
env:
NPM_CACHE: '%APPDATA%\npm-cache'
NPM_CACHE: '%LocalAppData%/npm-cache'
# needs: CheckCode
steps:
- name: Check out git repository
@@ -78,7 +78,7 @@ jobs:
name: Windows_7
runs-on: windows-latest
env:
NPM_CACHE: '%APPDATA%\npm-cache'
NPM_CACHE: '%LocalAppData%/npm-cache'
# needs: CheckCode
steps:
- name: Check out git repository
@@ -115,7 +115,7 @@ jobs:
name: Mac
runs-on: macos-latest
env:
NPM_CACHE: $HOME/.npm
NPM_CACHE: ~/.npm
# needs: CheckCode
steps:
- name: Check out git repository
@@ -153,7 +153,7 @@ jobs:
name: Linux
runs-on: ubuntu-latest
env:
NPM_CACHE: $HOME/.npm
NPM_CACHE: ~/.npm
# needs: CheckCode
steps:
- name: Install package