diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6325bbf..c5536cf 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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-