From a7836137efed3f7d3e074197f8dd426b963cd073 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 3 Nov 2025 02:22:36 +0000 Subject: [PATCH 1/4] create pipeline-20251103.yml --- .workflow/pipeline-20251103.yml | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .workflow/pipeline-20251103.yml diff --git a/.workflow/pipeline-20251103.yml b/.workflow/pipeline-20251103.yml new file mode 100644 index 000000000..0da458ef2 --- /dev/null +++ b/.workflow/pipeline-20251103.yml @@ -0,0 +1,45 @@ +version: '1.0' +name: pipeline-20251103 +displayName: pipeline-20251103 +triggers: + trigger: auto + push: + branches: + prefix: + - '' + pr: + branches: + prefix: + - '' + schedule: + - cron: '* * * 1 * ? *' +stages: + - name: stage-72bb5db9 + displayName: 未命名 + strategy: naturally + trigger: auto + executor: [] + steps: + - step: build@nodejs + name: build_nodejs + displayName: Nodejs 构建 + nodeVersion: 24.5.0 + commands: + - '# 设置NPM源,提升安装速度' + - npm config set registry https://registry.npmmirror.com + - '' + - npm add -g pnpm + - '' + - '# 执行编译命令' + - pnpm i && pnpm build:antd + artifacts: + - name: BUILD_ARTIFACT + path: + - ./dist + caches: + - ~/.npm + - ~/.yarn + - ~/.pnpm + notify: [] + strategy: + retry: '0' From 67bb3da219b60e2df3b264adfe0a2425cd2d3034 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 3 Nov 2025 02:31:22 +0000 Subject: [PATCH 2/4] update pipeline-20251103.yml --- .workflow/pipeline-20251103.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.workflow/pipeline-20251103.yml b/.workflow/pipeline-20251103.yml index 0da458ef2..39469c5e0 100644 --- a/.workflow/pipeline-20251103.yml +++ b/.workflow/pipeline-20251103.yml @@ -1,6 +1,6 @@ version: '1.0' name: pipeline-20251103 -displayName: pipeline-20251103 +displayName: master-build triggers: trigger: auto push: @@ -15,7 +15,7 @@ triggers: - cron: '* * * 1 * ? *' stages: - name: stage-72bb5db9 - displayName: 未命名 + displayName: build strategy: naturally trigger: auto executor: [] @@ -30,6 +30,10 @@ stages: - '' - npm add -g pnpm - '' + - pnpm lint + - '' + - pnpm check + - '' - '# 执行编译命令' - pnpm i && pnpm build:antd artifacts: From 8db8536662c7c21da9e7ff42adbfcdae1d6d1ee7 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 3 Nov 2025 02:52:22 +0000 Subject: [PATCH 3/4] update pipeline-20251103.yml --- .workflow/pipeline-20251103.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.workflow/pipeline-20251103.yml b/.workflow/pipeline-20251103.yml index 39469c5e0..e721cfcce 100644 --- a/.workflow/pipeline-20251103.yml +++ b/.workflow/pipeline-20251103.yml @@ -39,7 +39,7 @@ stages: artifacts: - name: BUILD_ARTIFACT path: - - ./dist + - ./apps/web-antd/dist/ caches: - ~/.npm - ~/.yarn From 6e1053483394b6e9d9aa8435c1146328ea7647cc Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 3 Nov 2025 02:59:38 +0000 Subject: [PATCH 4/4] update pipeline-20251103.yml --- .workflow/pipeline-20251103.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.workflow/pipeline-20251103.yml b/.workflow/pipeline-20251103.yml index e721cfcce..f527e76e6 100644 --- a/.workflow/pipeline-20251103.yml +++ b/.workflow/pipeline-20251103.yml @@ -27,19 +27,26 @@ stages: commands: - '# 设置NPM源,提升安装速度' - npm config set registry https://registry.npmmirror.com - - '' + - '# 安装pnpm' - npm add -g pnpm - - '' + - '# 安装依赖' + - pnpm i + - '# 检查lint' - pnpm lint - - '' + - '# 检查check' - pnpm check - - '' - - '# 执行编译命令' - - pnpm i && pnpm build:antd + - '# 执行编译命令antd' + - pnpm build:antd + - '# 执行编译命令ele' + - pnpm build:ele + - '# 执行编译命令naive' + - pnpm build:naive artifacts: - name: BUILD_ARTIFACT path: - ./apps/web-antd/dist/ + - ./apps/web-ele/dist/ + - ./apps/web-naive/dist/ caches: - ~/.npm - ~/.yarn