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:
|
2021-12-29 15:52:55 +00:00
|
|
|
- name: backend-go1.19
|
|
|
|
image: golang:1.19
|
2021-12-12 12:09:21 +00:00
|
|
|
commands:
|
|
|
|
- cd backend/
|
|
|
|
- go build ./...
|
|
|
|
- go vet ./...
|
2021-12-29 15:52:55 +00:00
|
|
|
# - go run honnef.co/go/tools/cmd/staticcheck@latest ./...
|
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
|