优化项目结构,优化构建脚本,优化README.MD
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Qumolama.d
2022-05-04 21:04:44 +08:00
parent 99d304899d
commit bd8b866f07
6 changed files with 113 additions and 69 deletions

View File

@ -7,12 +7,12 @@ kind: pipeline
name: test
steps:
- name: installgit p
- name: test
image: node:16
commands:
- yarn install
- yarn test
- name: telgram_notify
- name: notify
image: appleboy/drone-telegram
when:
status:
@ -25,19 +25,19 @@ steps:
format: markdown
message: >
{{#success build.status}}
✅ `{{repo.name}}` #{{build.number}} 号构建测试已通过 .
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:
✅ `{{repo.name}}` #{{build.number}} 号构建测试已通过\n
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:\n
```
{{commit.message}}
```
🌐 {{ build.link }}
\n🌐 {{ build.link }}
{{else}}
❌ `{{repo.name}}` #{{build.number}} 号构建测试已失败 .
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:
❌ `{{repo.name}}` #{{build.number}} 号构建测试已失败\n
📝 {{commit.author}} 在 `{{commit.branch}}` 的提交:\n
```
{{commit.message}}
```
🌐 {{ build.link }}
\n🌐 {{ build.link }}
{{/success}}