Added drone pipeline that automaticly runs on prs (or at least it should) #27

Merged
niggl merged 12 commits from feature/23-tests_on_pr into dev 2020-12-11 19:33:43 +00:00
Showing only changes of commit 553a35bb8e - Show all commits

View File

@ -2,13 +2,13 @@
kind: pipeline
name: tests:latest
clone:
branch: $DRONE_SOURCE_BRANCH
disable: true
steps:
# - name: checkout pr
# image: alpine/git
# commands:
# - git clone $DRONE_REMOTE_URL
# - git checkout
- name: checkout pr
image: alpine/git
commands:
- git clone $DRONE_REMOTE_URL
- git checkout $DRONE_SOURCE_BRANCH
- name: run tests
image: node:alpine
commands: