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:
|
||||
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:
|
||||
|
@ -6,7 +6,7 @@ RUN apk --no-cache add python2 build-base
|
||||
|
||||
COPY frontend/ui/ .
|
||||
|
||||
RUN npm install --network-timeout100000
|
||||
RUN npm install --network-timeout 100000
|
||||
RUN npm run build
|
||||
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@popperjs/core": "^2.9.3",
|
||||
"@sveltejs/kit": "next",
|
||||
"eslint": "^7.22.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
@ -21,6 +20,7 @@
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.9.3",
|
||||
"@sveltejs/adapter-static": "^1.0.0-next.17",
|
||||
"bootstrap": "^5.1.0",
|
||||
"bootstrap-icons": "^1.5.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user