Jenkins build
Some checks failed
test/timeline-frontend/pipeline/head There was a failure building this commit

This commit is contained in:
2025-12-29 15:43:59 +08:00
parent 18fa62f6be
commit 07d1eb553c

6
Jenkinsfile vendored
View File

@@ -52,14 +52,12 @@ pipeline {
if (fileExists('package.json')) {
echo "package.json found"
// 安装 pnpm
sh 'npm install -g pnpm'
// 使用 pnpm 安装依赖
sh 'pnpm install --frozen-lockfile'
sh 'npm install'
// 构建项目
sh 'pnpm run build'
sh 'npm run build'
// 检查 dist 目录是否存在
if (!fileExists('dist')) {