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 name: build
steps: steps:
- name: lint - name: install
image: node:lts-alpine image: node:lts-alpine
commands: commands:
- npm install - npm install
- name: lint
image: node:lts-alpine
commands:
- npm run lint - npm run lint
depends_on:
- install
- name: test - name: test
image: node:lts-alpine image: node:lts-alpine
commands: commands:
- npm run test - npm run test
depends_on: depends_on:
- lint - install
- name: build - name: build
image: node:lts-alpine image: node:lts-alpine
@ -23,7 +29,7 @@ steps:
- npm run build - npm run build
- zip -r romulus-m.zip dist/ - zip -r romulus-m.zip dist/
depends_on: depends_on:
- test - install
- name: publish - name: publish
image: plugins/gitea-release image: plugins/gitea-release