ci
Some checks failed
study-online / Explore-Gitea-Actions (push) Failing after 2s

This commit is contained in:
libingxiang 2025-08-04 16:31:20 +08:00
parent 2567534a9d
commit 2827c1f160

View File

@ -31,15 +31,15 @@ jobs:
node --version
npm --version
# 检查并安装依赖(如果需要)
- name: Install dependencies if needed
run: |
if [ ! -d "node_modules" ]; then
echo "node_modules not found, installing dependencies..."
npm install
else
echo "node_modules already exists, skipping installation"
fi
# # 检查并安装依赖(如果需要)
# - name: Install dependencies if needed
# run: |
# if [ ! -d "node_modules" ]; then
# echo "node_modules not found, installing dependencies..."
# npm install
# else
# echo "node_modules already exists, skipping installation"
# fi
# 构建项目
- name: Build project