2021-12-12 12:09:21 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: backend
|
2021-12-29 15:54:32 +00:00
|
|
|
image: golang:1.18beta1
|
2021-12-12 12:09:21 +00:00
|
|
|
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
|
|
|
|
- yarn test
|