Files
frontend/.workflow/pipeline-20251103.yml
2025-11-03 02:31:22 +00:00

50 lines
1.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
version: '1.0'
name: pipeline-20251103
displayName: master-build
triggers:
trigger: auto
push:
branches:
prefix:
- ''
pr:
branches:
prefix:
- ''
schedule:
- cron: '* * * 1 * ? *'
stages:
- name: stage-72bb5db9
displayName: build
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 lint
- ''
- pnpm check
- ''
- '# 执行编译命令'
- pnpm i && pnpm build:antd
artifacts:
- name: BUILD_ARTIFACT
path:
- ./dist
caches:
- ~/.npm
- ~/.yarn
- ~/.pnpm
notify: []
strategy:
retry: '0'