clipper/.drone.yml

24 lines
403 B
YAML
Raw Normal View History

2021-12-12 12:09:21 +00:00
---
kind: pipeline
2022-05-18 16:17:31 +00:00
type: kubernetes
2021-12-12 12:09:21 +00:00
name: default
steps:
- name: backend
image: golang:1.17
commands:
- cd backend/
2021-12-13 20:30:37 +00:00
- go install honnef.co/go/tools/cmd/staticcheck@latest
2021-12-12 12:09:21 +00:00
- go build ./...
- go vet ./...
2021-12-13 20:30:37 +00:00
- staticcheck ./...
2021-12-12 12:09:21 +00:00
- go test -bench=. -benchmem -cover ./...
2021-12-22 03:07:28 +00:00
- name: frontend
image: node:14
commands:
- cd frontend
- yarn
- yarn build
2022-05-18 16:17:31 +00:00
- yarn test