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