add ci/cd conf
All checks were successful
metroline continuous-integration/metroline
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

This commit is contained in:
Simon Vieille 2021-11-03 20:01:54 +01:00
parent 544ed1a1fa
commit 539a81c07e
2 changed files with 10 additions and 9 deletions

View file

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

View file

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