This commit is contained in:
14
.drone.yml
14
.drone.yml
@@ -3,20 +3,20 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
path: /drone/src
|
path: /drone/grow
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Lint
|
- name: Code Style
|
||||||
image: node:latest
|
|
||||||
commands:
|
|
||||||
- yarn install
|
|
||||||
- yarn lint .
|
|
||||||
- name: Prettier
|
|
||||||
image: node:latest
|
image: node:latest
|
||||||
commands:
|
commands:
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn prettier
|
- yarn prettier
|
||||||
|
|
||||||
|
- name: Code Lint
|
||||||
|
image: node:latest
|
||||||
|
commands:
|
||||||
|
- yarn lint
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|||||||
Reference in New Issue
Block a user