1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-13 18:00:58 +08:00

ci: 流水线新增缓存机制,优化依赖安装脚本

This commit is contained in:
chu fan
2023-09-28 09:32:43 +08:00
parent 343a472837
commit 0ae08d6b4a
4 changed files with 21 additions and 13 deletions

4
scripts/ci Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
## 下载依赖
pnpm i --frozen-lockfile --registry https://registry.npmmirror.com

View File

@@ -7,7 +7,7 @@
##
## 利用commit-and-tag-version生成changelog文档并跳过commit、tag操作
readonly generateChangeLog='pnpm commit-and-tag-version && git add CHANGELOG.md'
readonly generateChangeLog='commit-and-tag-version && git add CHANGELOG.md'
## git提交信息
readonly commitInfo='chore(release): publish v%s'