wewechat-plus-plus/.workflow/pipeline-build-20220901.yml

50 lines
1.1 KiB
YAML
Raw Normal View History

2022-09-01 21:48:38 +08:00
version: '1.0'
name: pipeline-build-20220901
displayName: pipeline-build
triggers:
trigger: auto
push:
2022-09-01 21:49:36 +08:00
branches:
prefix:
- ''
2022-09-01 21:48:38 +08:00
tags:
prefix:
- ''
stages:
- name: stage-82deebcf
displayName: 构建
strategy: naturally
trigger: auto
executor: []
steps:
- step: build@nodejs
name: build_nodejs
displayName: Nodejs 构建
nodeVersion: 16.14.2
commands:
- npm config set registry https://registry.npmmirror.com
- npm i yarn -g
2022-09-01 22:37:28 +08:00
- yarn cache dir
2022-09-01 21:48:38 +08:00
artifacts:
- name: BUILD_ARTIFACT
path:
2022-09-01 22:05:01 +08:00
- ../release
2022-09-01 22:24:17 +08:00
caches: []
2022-09-01 21:48:38 +08:00
notify: []
strategy:
retry: '0'
- name: stage-cd5d9e5b
displayName: 上传制品
strategy: naturally
trigger: auto
executor: []
steps:
- step: publish@general_artifacts
name: publish_general_artifacts
displayName: 上传制品
dependArtifact: BUILD_ARTIFACT
artifactName: output
notify: []
strategy:
retry: '0'