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 31e7d074dc - Show all commits

View File

@ -3,12 +3,15 @@ kind: pipeline
name: tests:latest name: tests:latest
steps: steps:
- name: clone
image: alpine/git
commands:
- git checkout $DRONE_SOURCE_BRANCH
- name: run tests - name: run tests
image: node:alpine image: node:alpine
commands: commands:
- yarn - yarn
- yarn test - yarn test
source: ${DRONE_SOURCE_BRANCH}
trigger: trigger:
event: event:
- pull_request - pull_request