backend/.drone.yml
Nicolai Ort 6cfaec8397
All checks were successful
continuous-integration/drone/pr Build is passing
Added ci env
ref #23
2020-12-11 20:29:33 +01:00

20 lines
323 B
YAML

---
kind: pipeline
name: tests:latest
clone:
disable: true
steps:
- name: checkout pr
image: alpine/git
commands:
- git clone $DRONE_REMOTE_URL .
- git checkout $DRONE_SOURCE_BRANCH
- mv .env.ci .env
- name: run tests
image: node:alpine
commands:
- yarn
- yarn test:ci
trigger:
event:
- pull_request