mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-22 18:10:40 +00:00
23 lines
279 B
YAML
23 lines
279 B
YAML
|
kind: pipeline
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: backend
|
||
|
image: golang:1.11
|
||
|
commands:
|
||
|
- go build
|
||
|
- go test -v
|
||
|
|
||
|
- name: frontend
|
||
|
image: node
|
||
|
commands:
|
||
|
- npm install
|
||
|
- npm run test
|
||
|
- npm run lint
|
||
|
|
||
|
services:
|
||
|
- name: redis
|
||
|
image: redis:latest
|
||
|
ports:
|
||
|
- 6379
|