From f37f9d61b8ff9d0113d9f4be94005c599540707b Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sat, 29 Jan 2022 14:49:32 +0000 Subject: [PATCH] Improve CI --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 01481d8..7d7c094 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file