更新 .gitea/workflows/deploy.yml
Some checks failed
Hexo Build and Deploy / Build Hexo and Deploy to GitHub (push) Has been cancelled
Some checks failed
Hexo Build and Deploy / Build Hexo and Deploy to GitHub (push) Has been cancelled
This commit is contained in:
@ -14,14 +14,14 @@ jobs:
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '22'
|
||||
cache: 'npm' # 启用npm缓存
|
||||
# cache: 'npm' # 启用npm缓存
|
||||
- name: Cache node_modules
|
||||
uses: actions/cache@v4
|
||||
id: npm-cache
|
||||
with:
|
||||
path: |
|
||||
node_modules
|
||||
~/.npm
|
||||
# ~/.npm
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
Reference in New Issue
Block a user