Commit ac950c1e authored by 张涵's avatar 张涵

feat: 添加前端lib开发配置-简易版本

parent 1af43f97
# 前端开发NPM包的标准CI工作流 (简易版)
# 需要制定在外围指定 Node_VERSION 变量
# variables:
# Node_VERSION: v14
stages:
- publish:beta
- publish
publish:beta:
stage: publish:beta
only:
- /^v\d{1,}\.\d{1,}\.\d{1,}-beta\.\d{1,}$/
tags:
- runner-vue
script:
- fnm use ${Node_VERSION}
- pnpm install --ignore-scripts
- pnpm run build
- npm -r publish --access public --no-git-checks --tag beta
publish:
stage: publish
only:
- /^v\d{1,}\.\d{1,}\.\d{1,}$/
tags:
- runner-vue
script:
- npm -r publish --access public --no-git-checks
- npm run notify
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment