Improve CI speed and SOC
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:53:21 +00:00
parent 1238a73fbd
commit 4389868e8c
1 changed files with 9 additions and 3 deletions

View File

@ -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