Merge pull request 'add ci/cd conf' (#72) from develop into master
All checks were successful
metroline continuous-integration/metroline
continuous-integration/drone/push Build is passing

Reviewed-on: #72
This commit is contained in:
Simon Vieille 2021-11-03 20:04:03 +01:00
commit 74d26106dc
2 changed files with 10 additions and 8 deletions

View file

@ -8,11 +8,17 @@ steps:
image: deblan/devenv
commands:
- npm install
when:
event:
- push
- name: build
image: deblan/devenv
commands:
- make npm-build
when:
branch:
- develop
- feature/*
- name: release
image: deblan/devenv
volumes:
- name: artefacts

View file

@ -2,10 +2,6 @@ version: '1'
image: deblan/devenv
jobs:
build:
when:
branch:
- master
- feat/.*
script:
- npm install
- npm run build
- make npm-build