更新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
+3 -3
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
@@ -131,7 +131,7 @@ jobs:
runs-on: macos-latest
# needs: CheckCode
env:
NPM_CACHE: $HOME/.npm
NPM_CACHE: ~/.npm
steps:
- name: Check out git repository
uses: actions/checkout@v4
@@ -178,7 +178,7 @@ jobs:
name: Linux
runs-on: ubuntu-latest
env:
NPM_CACHE: $HOME/.npm
NPM_CACHE: ~/.npm
# needs: CheckCode
steps:
- name: Install package