mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-18 08:00:40 +00:00
22 lines
340 B
YAML
22 lines
340 B
YAML
|
version: 2
|
||
|
jobs:
|
||
|
backend:
|
||
|
docker:
|
||
|
- image: golang:1.8
|
||
|
steps:
|
||
|
- checkout
|
||
|
- run: go build
|
||
|
- run: go test
|
||
|
frontend:
|
||
|
docker:
|
||
|
- image: node:latest
|
||
|
steps:
|
||
|
- checkout
|
||
|
- run: npm install
|
||
|
- run: npm test
|
||
|
workflows:
|
||
|
version: 2
|
||
|
default:
|
||
|
jobs:
|
||
|
- backend
|
||
|
- frontend
|