CI: Build frontend ui
This commit is contained in:
parent
dcb0cb315b
commit
451b678e73
3 changed files with 18 additions and 2 deletions
16
.drone.yml
16
.drone.yml
|
|
@ -58,6 +58,14 @@ steps:
|
|||
environment:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
- name: build frontend ui
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- apk --no-cache add python2 build-base
|
||||
- cd frontend/ui
|
||||
- npm install --network-timeout=100000
|
||||
- npm run build
|
||||
|
||||
- name: build dashboard
|
||||
image: golang:alpine
|
||||
commands:
|
||||
|
|
@ -259,6 +267,14 @@ steps:
|
|||
environment:
|
||||
CGO_ENABLED: 0
|
||||
|
||||
- name: build frontend ui
|
||||
image: node:lts-alpine
|
||||
commands:
|
||||
- apk --no-cache add python2 build-base
|
||||
- cd frontend/ui
|
||||
- npm install --network-timeout=100000
|
||||
- npm run build
|
||||
|
||||
- name: build dashboard
|
||||
image: golang:alpine
|
||||
commands:
|
||||
|
|
|
|||
Reference in a new issue