mirror of
https://gitnet.fr/deblan/side_menu.git
synced 2025-12-18 05:10:50 +01:00
add ci/cd conf
This commit is contained in:
parent
544ed1a1fa
commit
539a81c07e
2 changed files with 10 additions and 9 deletions
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…
Add table
Reference in a new issue