From 4389868e8cbff21b2a4c8cff6c954430c58e7581 Mon Sep 17 00:00:00 2001 From: Jack Hadrill Date: Sat, 29 Jan 2022 14:53:21 +0000 Subject: [PATCH] Improve CI speed and SOC --- .drone.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 73c10d5..c8cf7de 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,18 +3,24 @@ type: docker name: build steps: - - name: lint + - name: install image: node:lts-alpine commands: - npm install + + - name: lint + image: node:lts-alpine + commands: - npm run lint + depends_on: + - install - name: test image: node:lts-alpine commands: - npm run test depends_on: - - lint + - install - name: build image: node:lts-alpine @@ -23,7 +29,7 @@ steps: - npm run build - zip -r romulus-m.zip dist/ depends_on: - - test + - install - name: publish image: plugins/gitea-release