18 lines
375 B
YAML
18 lines
375 B
YAML
kind: pipeline
|
|
name: default
|
|
type: docker
|
|
|
|
steps:
|
|
- name: Frontend build
|
|
image: node:16-alpine
|
|
commands:
|
|
- cd ui
|
|
- npm install -g pnpm
|
|
- pnpm install
|
|
- pnpm run build
|
|
- name: Backend test
|
|
image: golangci/golangci-lint:latest
|
|
commands:
|
|
- go get -t ./src/...
|
|
- golangci-lint run --timeout 5m
|
|
- go test -v ./src/...
|