删除npm
Some checks failed
构建并部署 Spring Boot 应用 / build-and-deploy (push) Failing after 4s

This commit is contained in:
2025-09-26 07:24:09 +00:00
parent 3851179aa3
commit 3e4846b662

View File

@@ -18,13 +18,6 @@ jobs:
java-version: '17' java-version: '17'
distribution: 'temurin' distribution: 'temurin'
# 3. 设置 Node.js 环境 - 使用 Gitea.com 的镜像
- name: 设置 Node.js 环境
uses: https://gitea.com/actions/setup-node@v4 # 使用完整 URL:cite[3]:cite[9]
with:
node-version: '20'
cache: 'npm'
# 4. 缓存 Maven 依赖项 - 使用 Gitea.com 的镜像 # 4. 缓存 Maven 依赖项 - 使用 Gitea.com 的镜像
- name: 缓存 Maven 依赖 - name: 缓存 Maven 依赖
uses: https://gitea.com/actions/cache@v3 # 使用完整 URL:cite[3]:cite[9] uses: https://gitea.com/actions/cache@v3 # 使用完整 URL:cite[3]:cite[9]