Improve CI speed and SOC
This commit is contained in:
parent
1238a73fbd
commit
4389868e8c
12
.drone.yml
12
.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
|
||||
|
|
Loading…
Reference in New Issue