forked from deblan/side_menu
add ci/cd conf
This commit is contained in:
parent
544ed1a1fa
commit
539a81c07e
13
.drone.yml
13
.drone.yml
|
@ -8,12 +8,17 @@ steps:
|
|||
image: deblan/devenv
|
||||
commands:
|
||||
- npm install
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- develop
|
||||
|
||||
- name: build
|
||||
image: deblan/devenv
|
||||
commands:
|
||||
- make npm-build
|
||||
when:
|
||||
branch:
|
||||
- develop
|
||||
- feature/*
|
||||
|
||||
- name: release
|
||||
image: deblan/devenv
|
||||
volumes:
|
||||
- name: artefacts
|
||||
|
|
|
@ -2,10 +2,6 @@ version: '1'
|
|||
image: deblan/devenv
|
||||
jobs:
|
||||
build:
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
- feat/.*
|
||||
script:
|
||||
- npm install
|
||||
- npm run build
|
||||
- make npm-build
|
||||
|
|
Loading…
Reference in a new issue