Improve CI
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
Jack Hadrill 2022-01-29 14:49:32 +00:00
parent 5e16d66953
commit f37f9d61b8
1 changed files with 9 additions and 1 deletions

View File

@ -14,16 +14,24 @@ steps:
commands:
- npm install
- npm run test
depends_on:
- lint
- name: build
image: node:lts-alpine
commands:
- apk add zip
- npm install
- npm run build
- zip -r romulus-m.zip dist/
depends_on:
- test
- name: publish
image: plugins/gitea-release
depends_on:
- lint
- test
- build
when:
event:
@ -33,7 +41,7 @@ steps:
api_key:
from_secret: gitea_token
files:
- dist/*
- romulus-m.zip
checksum:
- md5
- sha256