Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
13e904ee71
commit
000cea659f
1 changed files with 20 additions and 2 deletions
22
.drone.yml
22
.drone.yml
|
@ -3,24 +3,39 @@ type: docker
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: lint
|
||||
|
||||
- name: dependencies
|
||||
image: node
|
||||
commands:
|
||||
- yarn
|
||||
|
||||
- name: lint
|
||||
image: node
|
||||
depends_on:
|
||||
- dependencies
|
||||
commands:
|
||||
- yarn lint
|
||||
|
||||
- name: build
|
||||
image: node
|
||||
depends_on:
|
||||
- dependencies
|
||||
commands:
|
||||
- yarn build
|
||||
|
||||
- name: test
|
||||
image: node
|
||||
depends_on:
|
||||
- build
|
||||
commands:
|
||||
- yarn test
|
||||
|
||||
- name: package
|
||||
image: node
|
||||
depends_on:
|
||||
- lint
|
||||
- build
|
||||
- test
|
||||
commands:
|
||||
- yarn package
|
||||
when:
|
||||
|
@ -39,4 +54,7 @@ steps:
|
|||
- dist/feditoken-*
|
||||
checksum:
|
||||
- md5
|
||||
- sha1
|
||||
- sha1
|
||||
when:
|
||||
event:
|
||||
- tag
|
Reference in a new issue