mirror of
https://github.com/thegeeklab/drone-yaml.git
synced 2024-11-22 18:10: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
|