From 31e7d074dc1850e91d01c3f96a9b29c09f36a59d Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Fri, 11 Dec 2020 20:18:03 +0100 Subject: [PATCH] Added dedicated clone step ref #23 --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 347c5a2..48606e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,12 +3,15 @@ kind: pipeline name: tests:latest steps: +- name: clone + image: alpine/git + commands: + - git checkout $DRONE_SOURCE_BRANCH - name: run tests image: node:alpine commands: - yarn - yarn test - source: ${DRONE_SOURCE_BRANCH} trigger: event: - pull_request \ No newline at end of file