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