Add frontend pipeline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Родитель
5fdf917bfe
Коммит
a798a27050
20
.drone.yml
20
.drone.yml
|
@ -122,3 +122,23 @@ trigger:
|
|||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: frontend
|
||||
steps:
|
||||
- name: npm install
|
||||
image: nextcloudci/node:node-4
|
||||
commands:
|
||||
- npm install
|
||||
- name: npm build
|
||||
image: nextcloudci/node:node-4
|
||||
commands:
|
||||
- npm run build
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
- stable*
|
||||
event:
|
||||
- pull_request
|
||||
- push
|
||||
|
|
Загрузка…
Ссылка в новой задаче