This repository has been archived on 2023-05-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
auth/.drone.yml
mifi b95dfb8cf3
All checks were successful
continuous-integration/drone/push Build is passing
More drone reporting updates
2023-05-02 18:02:57 -04:00

61 lines
1.2 KiB
YAML

kind: pipeline
type: docker
name: default
workspace:
path: /drone/grow
pipeline:
steps:
- name: yarn install
image: node:latest
commands:
- yarn install
- name: prettier
image: node:latest
commands:
- yarn prettier
- name: eslint
image: node:latest
commands:
- yarn lint
- name: send-test-results
image: plugins/webhook
settings:
urls: https://lab.mifi.dev/hooks/9p65zpagctgkmndo8nwwm4199r
content_type: application/json
template: |
{
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
"text": "[{{ repo.name }}] Code Quality Checks {{ build.status }} :tada:",
"username":"DroneBot"
}
- name: build
image: node:latest
commands:
- yarn build
- name: send-build-results
image: plugins/webhook
settings:
urls: https://lab.mifi.dev/hooks/ccw34hdf7tgbjmzp96nptn938r
content_type: application/json
template: |
{
"icon_url":"https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/198/freezing-face_1f976.png",
"text": "[{{ repo.name }}] Build {{ build.status }} :tada:",
"username":"DroneBot"
}
trigger:
branch:
- main
event:
- push