All checks were successful
continuous-integration/drone/push Build is passing
25 lines
400 B
YAML
25 lines
400 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build-frontend
|
|
image: node:19
|
|
commands:
|
|
- cd web
|
|
- npm config set registry=https://registry.npmmirror.com
|
|
- npm install
|
|
- npm run build
|
|
|
|
- name: build-backend
|
|
image: golang
|
|
environment:
|
|
GOPROXY: "goproxy.cn"
|
|
commands:
|
|
- go build -v .
|
|
|
|
- name: deploy
|
|
image: golang
|
|
commands:
|
|
- echo "Deploy successed"
|