CI: Build frontend ui
This commit is contained in:
parent
dcb0cb315b
commit
451b678e73
16
.drone.yml
16
.drone.yml
@ -58,6 +58,14 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
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
|
- name: build dashboard
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
commands:
|
commands:
|
||||||
@ -259,6 +267,14 @@ steps:
|
|||||||
environment:
|
environment:
|
||||||
CGO_ENABLED: 0
|
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
|
- name: build dashboard
|
||||||
image: golang:alpine
|
image: golang:alpine
|
||||||
commands:
|
commands:
|
||||||
|
@ -6,7 +6,7 @@ RUN apk --no-cache add python2 build-base
|
|||||||
|
|
||||||
COPY frontend/ui/ .
|
COPY frontend/ui/ .
|
||||||
|
|
||||||
RUN npm install --network-timeout100000
|
RUN npm install --network-timeout 100000
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@popperjs/core": "^2.9.3",
|
|
||||||
"@sveltejs/kit": "next",
|
"@sveltejs/kit": "next",
|
||||||
"eslint": "^7.22.0",
|
"eslint": "^7.22.0",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
@ -21,6 +20,7 @@
|
|||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@popperjs/core": "^2.9.3",
|
||||||
"@sveltejs/adapter-static": "^1.0.0-next.17",
|
"@sveltejs/adapter-static": "^1.0.0-next.17",
|
||||||
"bootstrap": "^5.1.0",
|
"bootstrap": "^5.1.0",
|
||||||
"bootstrap-icons": "^1.5.0"
|
"bootstrap-icons": "^1.5.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user