更新 .gitea/workflows/deploy.yml
Some checks failed
Hexo Build and Deploy / Build Hexo and Deploy to GitHub (push) Has been cancelled

This commit is contained in:
2025-10-14 02:50:01 +08:00
parent 9e817483ce
commit cd60d21c9d

View File

@ -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-