Added dedicated clone step
Some checks reported errors
continuous-integration/drone/pr Build encountered an error

ref #23
This commit is contained in:
Nicolai Ort 2020-12-11 20:18:03 +01:00
parent 1fbddf5ef8
commit 31e7d074dc

View File

@ -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